You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
at checkValidPropObject (/Users/alex/project/node_modules/eslint-plugin-react/lib/rules/no-typos.js:76:15)
at checkValidProp (/Users/alex/project/node_modules/eslint-plugin-react/lib/rules/no-typos.js:65:11)
at node.properties.forEach.prop (/Users/alex/project/node_modules/eslint-plugin-react/lib/rules/no-typos.js:77:41)
at Array.forEach (native)
at checkValidPropObject (/Users/alex/project/node_modules/eslint-plugin-react/lib/rules/no-typos.js:77:25)
at reportErrorIfClassPropertyCasingTypo (/Users/alex/project/node_modules/eslint-plugin-react/lib/rules/no-typos.js:85:9)
at MemberExpression (/Users/alex/project/node_modules/eslint-plugin-react/lib/rules/no-typos.js:135:11)
at listeners.(anonymous function).forEach.listener (/Users/alex/project/node_modules/eslint/lib/util/safe-emitter.js:47:58)
at Array.forEach (native)
at Object.emit (/Users/alex/project/node_modules/eslint/lib/util/safe-emitter.js:47:38)
The text was updated successfully, but these errors were encountered:
I encountered a crash when linting a file with a bad prop type while using the latest version of the plugin:
The text was updated successfully, but these errors were encountered: