Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/no-is-mounted.js
rd565449 r0c6b92a 18 18 }; 19 19 20 /** @type {import('eslint').Rule.RuleModule} */ 20 21 module.exports = { 21 22 meta: { … … 39 40 return; 40 41 } 41 if (callee.object.type !== 'ThisExpression' || callee.property.name !== 'isMounted') { 42 if ( 43 callee.object.type !== 'ThisExpression' 44 || !('name' in callee.property) 45 || callee.property.name !== 'isMounted' 46 ) { 42 47 return; 43 48 }
Note:
See TracChangeset
for help on using the changeset viewer.