From ed96f95e2830f32021231a64a7617129b6465dce Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Tue, 10 Mar 2026 14:12:31 +0000 Subject: [PATCH] fix(ci): remove deprecated eslint compact formatter from lint gate The compact formatter was removed from ESLint core. Switch to the default stylish formatter and adjust the error-counting grep pattern. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/gated-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gated-pipeline.yml b/.github/workflows/gated-pipeline.yml index 1289cf829..3903e483e 100644 --- a/.github/workflows/gated-pipeline.yml +++ b/.github/workflows/gated-pipeline.yml @@ -444,9 +444,9 @@ jobs: run: | set -o pipefail cd frontends/nextjs - npx eslint . --format compact 2>&1 | tee /tmp/lint-out.txt + npx eslint . 2>&1 | tee /tmp/lint-out.txt # Count errors in local src/ only (skip workspace transitive errors) - LOCAL_ERRORS=$(grep -c "Error -" /tmp/lint-out.txt 2>/dev/null || echo "0") + LOCAL_ERRORS=$(grep -cE "error " /tmp/lint-out.txt 2>/dev/null || echo "0") echo "Total lint issues: $LOCAL_ERRORS" # Allow up to 1500 issues (pre-existing workspace type-safety warnings) if [ "$LOCAL_ERRORS" -gt 1500 ]; then