Changeset 0c6b92a for imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/jsx-no-useless-fragment.js
rd565449 r0c6b92a 8 8 9 9 const pragmaUtil = require('../util/pragma'); 10 const astUtil = require('../util/ast'); 10 11 const jsxUtil = require('../util/jsx'); 11 12 const docsUrl = require('../util/docsUrl'); … … 76 77 return node 77 78 && node.type === 'JSXExpressionContainer' 78 && node.expression 79 && node.expression.type === 'CallExpression'; 79 && astUtil.isCallExpression(node.expression); 80 80 } 81 81
Note:
See TracChangeset
for help on using the changeset viewer.