From 46fc54f63b61f6a58b7ae47daca556b62c028204 Mon Sep 17 00:00:00 2001 From: martgil Date: Fri, 24 May 2024 17:09:27 +0800 Subject: [PATCH] Use existing npm script "test_eslint" --- .github/workflows/eslint.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index bb1686e8440..c63707b8f37 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -41,11 +41,7 @@ jobs: npm install @microsoft/eslint-formatter-sarif@3.1.0 - name: Run ESLint - run: npx eslint . - --config .eslintrc.js - --ext .js,.jsx,.ts,.tsx - --format @microsoft/eslint-formatter-sarif - --output-file eslint-results.sarif + run: npm run test_eslint continue-on-error: true - name: Upload analysis results to GitHub