-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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/no-angle-bracket-type-assertion' was not found @typescript-eslint/no-angle-bracket-type-assertion #863
Comments
The rule has been removed in 2.0.0 and replaced with another one. Please read the 2.0.0 release notes: https://github.com/typescript-eslint/typescript-eslint/releases/tag/v2.0.0 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bradzacher Hi! I'm still having the same warning:
This is my current eslint configuration:
and my
Any clues on how could be throwing the error/how to silence the warning? Thanks! :) |
You must have a config or something somewhere which still has it configured. You can use the |
It’s the React-Scripts that only supports v1 and enforces it’s own config. |
@tomitrescak Thanks for the clarification. Do you know if is possible to configure |
@Emiliano-Bucci in your package.json, remove this part:
|
@sywesk Yep, initially i did that; then i update to latest |
@Emiliano-Bucci strange, i'm on 3.1.1 and have the issue. Seems you've been lucky :D |
@Emiliano-Bucci it is indeed strange it work for you as the culprit line is still there even in 3.1.1: But I'm glad it still work for you ;) All and all, CRA supports currently v1 only. |
I am using create-react-app with craco to override my eslint rules via what I have defined in my package.json. craco config:
package.json:
|
I solved this issue this way:
This should work |
Can confirm, |
If you are using |
I found that using yarn instead of npm led me to this error. |
Hi, with the latest version I am getting following warning:
// your repro code case
Expected Result
Actual Result
Additional Info
Versions
@typescript-eslint/eslint-plugin
X.Y.Z
@typescript-eslint/parser
X.Y.Z
TypeScript
X.Y.Z
ESLint
X.Y.Z
node
X.Y.Z
npm
X.Y.Z
The text was updated successfully, but these errors were encountered: