From da2fb45d216537623a828ca625068d1dff5eee48 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 6 Feb 2021 18:38:31 -0800 Subject: [PATCH] Configure eslint action --- web/.eslintignore | 3 +++ web/.github/workflows/linter.yml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 web/.eslintignore diff --git a/web/.eslintignore b/web/.eslintignore new file mode 100644 index 000000000..bb613d599 --- /dev/null +++ b/web/.eslintignore @@ -0,0 +1,3 @@ +# Ignore artifacts: +node_modules +out diff --git a/web/.github/workflows/linter.yml b/web/.github/workflows/linter.yml index f81ac136d..6e9248194 100644 --- a/web/.github/workflows/linter.yml +++ b/web/.github/workflows/linter.yml @@ -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' \ No newline at end of file