Currently, it's possible for eslint to have warnings and still exit with code 0. This causes the CI to pass, even if there are warnings.
This PR therefore sets the --max-warnings (see https://eslint.org/docs/user-guide/command-line-interface#--max-warnings) parameter to 0 so that eslint will exit with 1, if there are any warnings.
Currently, it's possible for eslint to have warnings and still exit with code
0
. This causes the CI to pass, even if there are warnings. This PR therefore sets the--max-warnings
(see https://eslint.org/docs/user-guide/command-line-interface#--max-warnings) parameter to0
so that eslint will exit with1
, if there are any warnings.