I currently have an npm script to run linter. Obviously, some errors will be displayed, but the npm script crashes, and not just shows me errors and moves on.
This is terrible, especially when I have something else called a script, as it miraculously breaks everything. I can always run npm run lint --force to avoid errors, but I don't have this --force luxury all the time (e.g. with git-hook).
How can I configure my script to output errors without causing a mess?
source share