Should typescript-eslint switch its strict config from warnings to errors? #16512
Replies: 3 comments 4 replies
-
This is really up to you. Warnings were intended to be used temporarily. My belief is that using warnings long term results in people tuning them out as just console noise, so I don’t believe you are getting much benefit with long-term warnings. That said, warnings are a tool in the toolbox that you can use however you’d like. It’s hard to say in the abstract if it’s a good idea or not, so if you’d like to discuss a particular example it might help narrow the discussion. |
Beta Was this translation helpful? Give feedback.
-
Personally, I would advocate switching from |
Beta Was this translation helpful? Give feedback.
-
Closing this out: yes, we did in v6. Thanks! https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
https://twitter.com/slicknet/status/1579527957491564544:
The
@typescript-eslint/eslint-plugin
strict
config uses warnings for all its rules. We set it up that way because those strict rules tend to be more opinionated than what most developers want.What is the recommendation from the ESLint team on this?
I see also #16365 is in-progress. Is this discussion and/or backing "don't keep warnings long-term" preference something that would fit into that project's scope?
Beta Was this translation helpful? Give feedback.
All reactions