Open bab2683 opened 1 month ago
Looks like a problem with the typescript-eslint version. What package manager are you using?
We're using yarn@1.22.211
and @typescript-eslint/utils@6.8.0
BTW, I just tried upgrading @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
and @typescript-eslint/utils
to latest non breaking version 6.21.0
and the issue is still reproducible
Do you have the ability to create a small repository to reproduce the problem?
Hi, sorry for the delay, you can reproduce it here: https://github.com/bab2683/perfectionist-121
Looks like the removing parser fix this issue.
To use typescript however, is necessary due to the differences in AST format. at least that's what they say right in the first line https://typescript-eslint.io/packages/parser/. I thought this eslint plugin was compatible with the whole @typescript-eslint
suite due to the sort-interfaces
rule and also because it's listed as dependency.
We use the parser in the overwrites because we have both js and ts files in the project
Describe the bug
Getting that error when running the linter
Code example
ESLint version
8.36
ESLint Plugin Perfectionist version
2.7.0
Additional comments
Apple M3 Pro macOS Sonoma 14.3
Validations