[method-signature-style] Cannot read property 'typeAnnotation' of undefined #2834
Closed
3 tasks done
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Hello, I'm testing stability of well known community ESlint plugins with
eslint-remote-tester
. This ESLint plugin seems to contain a rule which causes linter to crash. ESlint rules should not crash in any condition since this makes all valid linting problems disappear. If this is a false flag please let me know.Repro
Error report from ci/eslint-remote-tester-results/adobe_react-spectrum.md
Rule: method-signature-style
Cannot read property 'typeAnnotation' of undefined Occurred while linting <text>:25
adobe/react-spectrum/packages/@react-stately/color/src/useColorWheelState.ts
Expected Result
ESLint rule should not crash.
Actual Result
Additional Info
This is not blocking my development or anything. This was spotted on automated CI run: https://github.com/AriPerkkio/eslint-remote-tester/actions/runs/390047365
Versions
@typescript-eslint/eslint-plugin
4.9.0
@typescript-eslint/parser
4.9.0
TypeScript
4.0.2
ESLint
7.9.0
node
14.15.1
The text was updated successfully, but these errors were encountered: