-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
prettier-eslint-cli does not throw eslint's errors #87
Comments
Hi @arfa, 👋 That phrase in the docs is referring to errors thrown (like when parsing), not errors in the rules. So you use I hope that helps. |
Hi @kentcdodds Thanks you for your response. it is clear now 👍 Maybe you should specify that in the docs. |
Agreed. Would you like to makeapullrequest.com? 😄 |
I will do it 😄 It will be a PR on prettier-eslint |
Our tree is large and it would be nice to only have to run one tool to format the files when nothing else is wrong, but that would throw when other eslint rules are violated so we don't need to run the expensive operation against the entire tree twice. I can understand that it's not the default behavior, but it seems reasonable to allow that as a configuration. |
prettier-eslint-cli
version: 4.1.1prettier-eslint
version: 6.4.2prettier
version: 1.5.2eslint
version: 3.19.0.eslintrc
:Problem description:
I have
"no-console": 2
in my.eslintrc
file.I put a
console.log
in my code so when I run the commandeslint
it throws an error.However when I run
prettier-eslint
it doesn't show this error (I have tried all the--log-level
possible values).If I am not missing something, it is supposed to show the error as it is mentioned in prettier-eslint
The text was updated successfully, but these errors were encountered: