-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 --quiet --fix
fixes warnings
#8353
Comments
eslint --quiet --fix
fixes warningeslint --quiet --fix
fixes warnings
I disagree with the notion of this being a bug. |
I think it makes sense what @Slayer95 said above. If we dont need any change on this then we can close this issue. |
I can see it both ways. The fact that the behavior can be seen as extremely unexpected and/or damaging to the user is definitely a bad thing, in my mind. I think the best way to fix this is to allow users the option to go either way and to be very explicit about how the options work. Here's one proposal along those lines:
The first point above isn't critical for the situation alberto described, but it does allow ESLint CLI to be much more intuitive to users. |
Thanks for your interest in improving eslint. Unfortunately, it looks like this issue didn't get enough support from the team and so I'm closing it. While we wish we'd be able to accommodate everyone's requests, we do need to prioritize. We've found that issues failing to reach consensus after 21 days tend to never do it, and as such, we close those issues. This doesn't mean the idea isn't interesting, just that it's not something the team can commit to. |
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
default
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
This produces the following errors running:
eslint foo.js
Running
eslint --quiet
only outputs errors, as expected:What did you expect to happen?
Running
eslint foo.js --quiet --fix
would only report and fix errorsWhat actually happened? Please include the actual, raw output from ESLint.
eslint also fixed the warning on "quotes"
The text was updated successfully, but these errors were encountered: