diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index a34398c..0000000 --- a/.eslintignore +++ /dev/null @@ -1,4 +0,0 @@ -lib -node_modules -coverage -*.js \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9eef5ed..fb0ca7c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,5 +23,10 @@ jobs: cache: 'pnpm' - name: Install dependencies run: pnpm install - - name: Lint - run: pnpm lint + - name: Run eslint on changed files + uses: tj-actions/eslint-changed-files@v23 + with: + config_path: ".eslintrc.js" + ignore_path: ".gitignore" + file_extensions: './src/**/*.ts' + extra_args: "--max-warnings=0"