Is it possible to throw errors instead of warnings using Eslint?
I am working with a create-react-app
and want to have a really strict lint policy in my team, and thought that this might be a good start.
Is that possible?
--max-warnings
can serve this purpose: --max-warnings=0
means that any warnings cause eslint to report an error.
https://github.com/eslint/eslint/issues/2309#issuecomment-219828044
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