Browse Source

Configure eslint action

pull/1886/head
Gabe Kangas 4 years ago
parent
commit
da2fb45d21
  1. 3
      web/.eslintignore
  2. 2
      web/.github/workflows/linter.yml

3
web/.eslintignore

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

2
web/.github/workflows/linter.yml

@ -17,5 +17,7 @@ jobs: @@ -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'
Loading…
Cancel
Save