-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
Strict Mode #183
Comments
If it makes sense, I'm glad to create a PR to implement it. |
I am not very sure. The reason we were doing that it trying to find a middle ground, where you can do that without much configuration, while the majority of users won't be affected by this. If have a env in your command it's acceptable to you, isn't |
Both are ok. But |
For example, setting consistent-type-assertions to |
With the flat config it should be much easier to support this. As I don't have much need on this myself, I'll close is for now. If you still want to push it, feel free to bring it back. Thanks. |
Clear and concise description of the problem
Detecting
tsconfig.eslint.json
file (in the project root) or configuringESLINT_TSCONFIG
env is not clear way to useTypeScript Aware Rules
.Suggested solution
Step 1. Do not detect
tsconfig.eslint.json
file and remove supportingESLINT_TSCONFIG
env.Step 2. Support
ESLINT_STRICT
env. If user runESLINT_STRICT=true eslint .
, enable the buit-intypescript aware rules
(and other rules if they built in).Step 3. Update README. Tell user how to enable strict mode.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: