I would like to silence all style warnings and only be alerted when there is a major leak in my code, like a missing bracket, or a referenced var that doesn't exist. Is there a rule that can be inserted into eslint.json to quiet everything except fatal errors?
You can use --quiet
option to show error
-level only, like eslint --quiet "*.js"
https://eslint.org/docs/user-guide/command-line-interface
Handling warnings: --quiet Report errors only - default: false
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