Bug: typescript-estree 6.16.0+ requires TypeScript v5.3+ #8172
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
typescript-estree
Playground Link
No response
Repro Code
(sorry this isn't minimal)
I'm compiling my eslint plugin with custom rules which use the
@typescript-eslint/utils
package.While trying to upgrade to typescript-eslint 6.16, I encountered a type incompatibility with typescript 5.2.
See failing CI job for the dependabot upgrade
ESLint Config
No response
tsconfig
No response
Expected Result
No errors, my ESLint plugin is able to compile with TypeScript 5.2. I did not expect to be required to upgrade to TypeScript 5.3 at this time.
Actual Result
Additional Info
I noticed your note about a type incompatibility caveat in the 6.13.0 release notes, but I believe my issue is distinct.
It appears that
ts.JSDocParsingMode
is not available intsserverlibrary.d.ts
in [email protected], so that reference fails when I try to compile @blueprintjs/eslint-plugin with @typescript-eslint/utils types.Versions
@typescript-eslint/rule-tester
6.16.0
@typescript-eslint/typescript-estree
6.16.0
@typescript-eslint/utils
6.16.0
TypeScript
5.2.2
ESLint
8.56.0
node
18.18.1
The text was updated successfully, but these errors were encountered: