Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/util/isCreateElement.js
rd565449 r0c6b92a 11 11 */ 12 12 module.exports = function isCreateElement(context, node) { 13 if (!node.callee) { 14 return false; 15 } 16 13 17 if ( 14 node.callee 15 && node.callee.type === 'MemberExpression' 18 node.callee.type === 'MemberExpression' 16 19 && node.callee.property.name === 'createElement' 17 20 && node.callee.object … … 22 25 23 26 if ( 24 node 25 && node.callee 26 && node.callee.name === 'createElement' 27 node.callee.name === 'createElement' 27 28 && isDestructuredFromPragmaImport(context, node, 'createElement') 28 29 ) {
Note:
See TracChangeset
for help on using the changeset viewer.