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