TIL: CI, eslint max count of warning
So you have CI pipeline and want to exit when eslint finds too many warnings?
So eslint has max-warnings arguments in the command line.
Number of warnings to trigger nonzero exit code
So if you want to limit warnings of 50, you have to run eslint like
elsint --max-warnings 10
But in a real CI pipeline, I think you run eslint with help of npm so
npx run eslint -- --max-warnings 10
where npx run eslint command which run your eslint