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
TypeError: Cannot read property 'name' of undefined
Occurred while linting <text>:116
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js:214:79
at Array.forEach (<anonymous>)
at Object.VariableDeclarator (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js:213:28)
Crash reports from real projects
Rule: no-deprecated
Message: Cannot read property 'name' of undefined Occurred while linting <text>:116
114|},[]);115|>116|let{117|// blerg es modules118|default: defaultReactExport,119| ...allReactExports
TypeError: Cannot read property 'name' of undefined
Occurred while linting <text>:116
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js:214:79
at Array.forEach (<anonymous>)
at Object.VariableDeclarator (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/rules/no-deprecated.js:213:28)
at updatedRuleInstructions.<computed> (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint-plugin-react/lib/util/Components.js:1016:45)
at /home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/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/ci/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:293:26)
at NodeEventGenerator.applySelectors (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
at NodeEventGenerator.enterNode (/home/runner/work/eslint-remote-tester/eslint-remote-tester/ci/node_modules/eslint/lib/linter/node-event-generator.js:336:14)
The text was updated successfully, but these errors were encountered:
Hello,
no-deprecated
rule seems to crash in certain cases. This issue was spotted by automated CI run - it is not blocking my development or anything.AriPerkkio/eslint-remote-tester#189 (comment)
Minimal repro:
Crash reports from real projects
Rule: no-deprecated
Cannot read property 'name' of undefined Occurred while linting <text>:116
reach/reach-ui/website/src/components/mdx-layout.js
The text was updated successfully, but these errors were encountered: