I have a Vue app using Eslint with Prettier. A Github action should check the code style, but npm run lint -- --no-fix
only logs the warnings, the workflow doesn't fail.
My test PR:
The workflow passes although I would expect it to fail. Is there a flag for this? E.g.
npm run lint -- --no-fix --fail-on-errors-and-warnings
--max-warnings=0
this should do the trick.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With