Skip to content
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

Eslint only warnings #373

Open
tobeycodes opened this issue Feb 27, 2024 · 0 comments
Open

Eslint only warnings #373

tobeycodes opened this issue Feb 27, 2024 · 0 comments

Comments

@tobeycodes
Copy link
Member

This is quite an opinionated suggestion so feel free to close.

I believe that linting should only report things that need to be fixed. I find myself working on projects that have hundreds or thousands of eslint warnings.

I think that we either need to enable rules or disable rules. Warnings get ignored, and clog the terminal.

There is a good plugin that will convert everything to warnings and --max-warnings=0 can be used to block builds if preferred.
https://www.npmjs.com/package/eslint-plugin-only-warn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant