File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const docsUrl = require('../util/docsUrl');
15
15
16
16
const defaultOptions = {
17
17
checkFragmentShorthand : false
18
- }
18
+ } ;
19
19
20
20
module . exports = {
21
21
meta : {
@@ -38,8 +38,8 @@ module.exports = {
38
38
} ,
39
39
40
40
create ( context ) {
41
- const options = Object . assign ( { } , defaultOptions , context . options [ 0 ] )
42
- const checkFragmentShorthand = options . checkFragmentShorthand
41
+ const options = Object . assign ( { } , defaultOptions , context . options [ 0 ] ) ;
42
+ const checkFragmentShorthand = options . checkFragmentShorthand ;
43
43
44
44
function checkIteratorElement ( node ) {
45
45
if ( node . type === 'JSXElement' && ! hasProp ( node . openingElement . attributes , 'key' ) ) {
@@ -77,7 +77,7 @@ module.exports = {
77
77
if ( ! checkFragmentShorthand ) {
78
78
return ;
79
79
}
80
-
80
+
81
81
if ( node . parent . type === 'ArrayExpression' ) {
82
82
context . report ( {
83
83
node,
You can’t perform that action at this time.
0 commit comments