Changeset 0c6b92a for imaps-frontend/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/prefer-exact-props.js
rd565449 r0c6b92a 7 7 const Components = require('../util/Components'); 8 8 const docsUrl = require('../util/docsUrl'); 9 const astUtil = require('../util/ast'); 9 10 const propsUtil = require('../util/props'); 10 11 const propWrapperUtil = require('../util/propWrapper'); … … 82 83 function isNonExactPropWrapperFunction(node) { 83 84 return ( 84 node 85 && node.type === 'CallExpression' 85 astUtil.isCallExpression(node) 86 86 && !propWrapperUtil.isExactPropWrapperFunction(context, getText(context, node.callee)) 87 87 );
Note:
See TracChangeset
for help on using the changeset viewer.