Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript version 4.6.2 is not supported by @typescript-eslint/typescript-estree which is a dependency of eslint-config-react-app #12150

Open
haseebanwar opened this issue Mar 9, 2022 · 2 comments

Comments

@haseebanwar
Copy link

Describe the bug

I am using eslint-config-react-app which uses @typescript-eslint/parser which then uses @typescript-eslint/typescript-estree under the hood.

eslint-config-react-app is using version 5.5.0 of @typescript-eslint/parser which supports the following TS versions

>=3.3.1 <4.6.0

If I use the latest TS version, it throws this warning

=============

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.6.0

YOUR TYPESCRIPT VERSION: 4.6.2

Please only submit bug reports when using the officially supported version.

=============

Steps to reproduce

Using eslint-config-react-app outside of create-react-app

Suggested Solution

@typescript-eslint/typescript-estree already fixed this issue in this PR with version 5.14.0

Updating @typescript-eslint/parser in eslint-config-react-app to the latest version will fix this.

@curiosity26
Copy link

+1 any idea when this fix will be available?

@erosval
Copy link

erosval commented Nov 18, 2022

Similar to #11673, I guess we will have to wait until CRA is updated to include newest typescript-eslint version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants