Changeset 0c6b92a for imaps-frontend/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/eslint-plugin-react/lib/rules/no-unused-class-component-methods.js
rd565449 r0c6b92a 99 99 }; 100 100 101 /** @type {import('eslint').Rule.RuleModule} */ 101 102 module.exports = { 102 103 meta: { … … 249 250 .filter((prop) => prop.type === 'Property' && isKeyLiteralLike(prop, prop.key)) 250 251 .forEach((prop) => { 251 addUsedProperty( prop.key);252 addUsedProperty('key' in prop ? prop.key : undefined); 252 253 }); 253 254 }
Note:
See TracChangeset
for help on using the changeset viewer.