-
Notifications
You must be signed in to change notification settings - Fork 508
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
Definition for rule '@typescript-eslint/consistent-type-assertions' was not found #210
Comments
Can you send a PR? |
I've been tracking this same bug. It may be related to the same issue here |
I looked in the created
Which doesn't match the version needed to resolve |
I found I can put in a PR, not sure what makes most sense given what @elado said:
Put in a PR to set 5.0.1 so it works now and then once 6.0.2 is out, a new PR for that? |
As a different workaround for now, you could do |
Current Behavior
Created a new
react
package, ranlint src
and got an error:Expected behavior
no errors
Suggested solution(s)
looks like this package doesn't exist anymore
https://www.npmjs.com/package/@typescript-eslint/consistent-type-assertions
when installing tsdx, it comes with
eslint-config-react-app@5.0.2
which has the reference to the missing package.locking it at
5.0.1
resolves the issue.looks like
6.0.2
is oneslint-config-react-app
github but not yet released.Additional context
Your environment
The text was updated successfully, but these errors were encountered: