Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-estree
Playground Link
No response
Repro Code
{
"name": "typescript-eslint-bug-repro",
"version": "0.0.0",
"devDependencies": {
"eslint": "8.57.0",
"typescript": "5.5.2",
"typescript-eslint": "7.13.1"
}
}
ESLint Config
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
export default tseslint.config(...tseslint.configs.recommendedTypeChecked);
tsconfig
Expected Result
running eslint .
does not show any warning on SUPPORTED TYPESCRIPT VERSIONS
Actual Result
running eslint .
does show warning SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.5.0
Additional Info
This issue occurs because #9397 did not update SUPPORTED_TYPESCRIPT_VERSIONS
in packages/typescript-estree/src/parseSettings/warnAboutTSVersion.ts. Updating this will resolve this issue. I will PR this.
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
7.13.1 |
@typescript-eslint/parser |
7.13.1 |
@typescript-eslint/scope-manager |
7.13.1 |
@typescript-eslint/typescript-estree |
7.13.1 |
@typescript-eslint/type-utils |
7.13.1 |
@typescript-eslint/utils |
7.13.1 |
TypeScript |
7.13.1 |
ESLint |
8.57.0 |
node |
20.14.0 |
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't workingPlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Waiting for team members to take a lookWaiting for team members to take a look