From 922f66348d5ffe7a497c3df1f45fa4d115558651 Mon Sep 17 00:00:00 2001 From: Junhao Liao Date: Fri, 3 Jan 2025 12:39:55 -0500 Subject: [PATCH] ci: Remove usage of `ataylorme/eslint-annotate-action`. --- .github/workflows/lint.yaml | 9 +-------- client/package.json | 3 +-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3c77094..46bc21a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -37,11 +37,4 @@ jobs: with: node-version: 22 - run: "npm --prefix client/ clean-install" - - run: "npm --prefix client/ run lint:ci" - continue-on-error: true - - uses: "ataylorme/eslint-annotate-action@v3" - with: - fail-on-error: true - fail-on-warning: true - only-pr-files: true - report-json: "./client/eslint-report.json" \ No newline at end of file + - run: "npm --prefix client/ run lint:check" diff --git a/client/package.json b/client/package.json index 4109490..92d6a13 100644 --- a/client/package.json +++ b/client/package.json @@ -11,8 +11,7 @@ "eject": "react-scripts eject", "lint": "npm run lint:check", - "lint:check": "eslint src", - "lint:ci": "npm run lint:check -- --format json --output-file eslint-report.json", + "lint:check": "eslint src --max-warnings 0", "lint:fix": "npm run lint:check -- --fix" }, "dependencies": {