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 4.4.4 not supported by @typescript-eslint/typescript-estree #237

Closed
worldeggplant opened this issue Nov 25, 2021 · 1 comment · Fixed by #240
Closed

Typescript 4.4.4 not supported by @typescript-eslint/typescript-estree #237

worldeggplant opened this issue Nov 25, 2021 · 1 comment · Fixed by #240

Comments

@worldeggplant
Copy link

Expected results

Linting working out of the box when installing React Native with the Typescript template

Observed results

Linting throws an error. Seems to be caused by an unsupported version of Typescript introduced recently.

Logs

$ eslint . --ext .js,.jsx,.ts,.tsx
=============

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.1.0

YOUR TYPESCRIPT VERSION: 4.4.4

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

Steps to reproduce

  1. $ npx react-native init --template typescript Project
  2. $ yarn lint
@mikehardy
Copy link
Contributor

typescript is actually already on 4.5.2
template needs an update, bu thow did it go when you updated dependencies (e.g., yarn outdated then updating the @typescript-esline\xyz packages?)

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

Successfully merging a pull request may close this issue.

2 participants