-
-
Notifications
You must be signed in to change notification settings - Fork 84
Revisit our Typescript linting rules #714
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
Comments
I don't see where our eslintrc extends typescript-eslint/recommended. Maybe we have a whole bunch of lints and we just haven't noticed 👀 |
no-unnecessary-type-assertion
to typescript lint rules
Updated description to be more general |
Should we use |
Unassigning myself because I realistically won't have time to enable more lint rules. It'll be good to consider the lint rules that use type information, but we should consider how enabling type checking in linting affects the linter performance. |
typescript-eslint/recommended
? If not, try itno-unnecessary-type-assertion
. Should come fromrecommended
aboveexplicit-function-return-type
. Might need to tweak config if it's too aggressive, eg in lambdas. See also Revisit our Typescript linting rules #714 (comment)Originally posted by @pokey in #705 (comment)
The text was updated successfully, but these errors were encountered: