Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug: TypeScript version warning shows with TS 5.5 #9399

Copy link
Copy link
Closed
@cm-ayf

Description

@cm-ayf
Issue body actions

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

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workinglocked due to agePlease 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.triageWaiting for team members to take a lookWaiting for team members to take a look

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.