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
Support typescript new syntax override
#3447
Comments
override
override
We do support #3429 as of v4.25.0 If it's not working for you then likely your installed version is wrong. |
Thank you for your reply. I just remove node_modules and re-install. It worked. |
@bradzacher Thank you so much for the work! I know this validation has been handled by Typescript, is there a plan to implement a rule in We have a fairly large codebase and would like to turn on the flag |
It's a language feature which causes errors in TS. There's no lint rule to implement. If you want to turn it on in your project - you can script up a codemod for your codebase. |
@bradzacher 🙏 thank you so much for clarifying! |
@akphi please make sure you check who you're tagging so that you tag the correct user. |
Repro
Can't parse
override
syntax. Like this.Expected Result
parse
override
syntax.Actual Result
Parsing error: ';' expected. eslint
Additional Info
Parsing error: ';' expected. eslint
Versions
@typescript-eslint/parser
4.25.0
TypeScript
4.4-dev
ESLint
7.26.0
node
14
The text was updated successfully, but these errors were encountered: