-
Improvement
-
Resolution: Fixed
-
Minor
-
3.7.6, 3.8.2, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-68323-master -
You can run
grunt eslint --show-lint-warnings
|
to see warnings, however it still returns 0 even if warnings are found. In moodle-plugin-ci we can parse output to count warnings but would be so much better to use grunt option "maxWarnings" https://www.npmjs.com/package/grunt-eslint
Suggestion to add option:
grunt eslint --max-lint-warnings=0
|
See also discussion https://github.com/blackboard-open-source/moodle-plugin-ci/pull/89