Add autofix/diff checker to ESLint
This commit is contained in:
parent
04163160ff
commit
0ce6f3eddd
6
.github/workflows/validate-js.yml
vendored
6
.github/workflows/validate-js.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user