From 8bc87e2a68cba8c350a28f5d8a90422e70f43003 Mon Sep 17 00:00:00 2001 From: "Alex M. - Clockwork" Date: Tue, 30 Jan 2024 10:42:30 +0200 Subject: [PATCH] fix: Lint workflow --- .eslintignore | 4 ---- .github/workflows/lint.yml | 9 +++++++-- 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .eslintignore 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"