Skip to content

Commit

Permalink
tighten up the eslint check - fail if there are more than 1 lint warn…
Browse files Browse the repository at this point in the history
…ings.

this is better than handwaving them.
one warning is to be expected, and it's always the same one.
let's fail if we receive any more warnings than that.
  • Loading branch information
stopfstedt committed Jan 10, 2024
1 parent 7b1a382 commit 913602f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:

- name: Grunt
if: ${{ !cancelled() }}
run: moodle-plugin-ci grunt --show-lint-warnings
run: moodle-plugin-ci grunt --max-lint-warnings 1

- name: PHPUnit tests
if: ${{ !cancelled() }}
Expand Down

0 comments on commit 913602f

Please sign in to comment.