File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 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');
1515
1616const defaultOptions = {
1717 checkFragmentShorthand : false
18- }
18+ } ;
1919
2020module . exports = {
2121 meta : {
@@ -38,8 +38,8 @@ module.exports = {
3838 } ,
3939
4040 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 ;
4343
4444 function checkIteratorElement ( node ) {
4545 if ( node . type === 'JSXElement' && ! hasProp ( node . openingElement . attributes , 'key' ) ) {
@@ -77,7 +77,7 @@ module.exports = {
7777 if ( ! checkFragmentShorthand ) {
7878 return ;
7979 }
80-
80+
8181 if ( node . parent . type === 'ArrayExpression' ) {
8282 context . report ( {
8383 node,
You can’t perform that action at this time.
0 commit comments