Add autofix/diff checker to ESLint

This commit is contained in:
Marc Rousavy 2021-03-12 15:10:44 +01:00
parent 04163160ff
commit 0ce6f3eddd

View File

@ -86,3 +86,9 @@ jobs:
- name: Run ESLint - name: Run ESLint
run: yarn lint -f @jamesacarr/github-actions run: yarn lint -f @jamesacarr/github-actions
- name: Run ESLint with auto-fix
run: yarn lint --fix
- name: Verify no files have changed after auto-fix
run: git diff --exit-code HEAD