[comma-spacing] Cannot read properties of undefined (reading 'type') #4867
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
Expect no error on "@typescript-eslint/comma-spacing" rule.
Actual Result
There is an error in lint execution, caused by this line.
Additional Info
Just creating this ticket to be referenced in my PR.
The issue is specially bothering when using an editor extension linting your code while you edit it. When writing code it'll trigger errors in lint execution.
Versions
@typescript-eslint/eslint-plugin
5.20.0
@typescript-eslint/parser
5.20.0
TypeScript
4.5.5
ESLint
8.14.0
node
16.13.0
The text was updated successfully, but these errors were encountered: