Configure eslint action

This commit is contained in:
Gabe Kangas 2021-02-06 18:38:31 -08:00
parent 269505d3bf
commit da2fb45d21
2 changed files with 5 additions and 0 deletions

3
web/.eslintignore Normal file
View File

@ -0,0 +1,3 @@
# Ignore artifacts:
node_modules
out

View File

@ -17,5 +17,7 @@ jobs:
- name: Run ESLint on changed files
uses: tj-actions/eslint-changed-files@v4
with:
config-path: '.eslintrc.js'
ignore-path: '.eslintignore'
extensions: 'ts,tsx,js,jsx'
extra-args: '--max-warnings=0'