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
Message: Cannot read property 'toLowerCase' of undefined
Path: zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/TaskArea/components/Tasks/Tasks.js Link
Error:
TypeError: Cannot read property 'toLowerCase' of undefined
Occurred while linting <text>:32
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-typos.js:155:41
at Array.forEach (<anonymous>)
at reportErrorIfLifecycleMethodCasingTypo (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-typos.js:154:32)
at Object.MethodDefinition (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-typos.js:232:9)
at updatedRuleInstructions.<computed> (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/util/Components.js:986:45)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
The text was updated successfully, but these errors were encountered:
Hello,
no-typos
rule seems to crash in certain cases. This issue was spotted by automated CI run - it is not blocking my development or anything. https://github.com/AriPerkkio/eslint-remote-tester/runs/1506856587?check_suite_focus=trueMinimal repro:
Crash reports from real-world examples
Rule: no-typos
Message:
Cannot read property 'toLowerCase' of undefined
Path:
zooniverse/front-end-monorepo/packages/lib-classifier/src/components/Classifier/components/TaskArea/components/Tasks/Tasks.js
Link
The text was updated successfully, but these errors were encountered: