From 7a73f15dcea1f3cb0fb1fe79f7c382f6f3b4e45c Mon Sep 17 00:00:00 2001 From: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com> Date: Fri, 11 Sep 2026 20:37:57 -0300 Subject: [PATCH] chore(quality): drop two stale ESLint suppression entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #12653 and #12358 fixed the violations these covered but left the entries behind, and eslint treats a suppression with nothing left to suppress as an error. That blocks the pre-commit hook on any commit whose staged set includes either file. - open-sse/services/imageCombo.ts (no-unused-vars) - tests/unit/chat-helpers.test.ts (no-explicit-any) A ratchet tightening, not a rebaseline: both counts go to zero by deletion. The three no-explicit-any errors remaining in tests/unit/volcengine-plan-binding-upsert.test.ts are untouched here — that is the pre-existing base-red #13215 tracks. --- .../maintenance/stale-eslint-suppressions-20260911.md | 1 + config/quality/eslint-suppressions.json | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) create mode 100644 changelog.d/maintenance/stale-eslint-suppressions-20260911.md diff --git a/changelog.d/maintenance/stale-eslint-suppressions-20260911.md b/changelog.d/maintenance/stale-eslint-suppressions-20260911.md new file mode 100644 index 0000000000..3c1c6e0903 --- /dev/null +++ b/changelog.d/maintenance/stale-eslint-suppressions-20260911.md @@ -0,0 +1 @@ +- **chore(quality):** drop two ESLint suppression entries whose violations no longer exist, so `eslint --suppressions-location` stops rejecting every commit that touches the surrounding files diff --git a/config/quality/eslint-suppressions.json b/config/quality/eslint-suppressions.json index be1a5785f0..49ab6842ff 100644 --- a/config/quality/eslint-suppressions.json +++ b/config/quality/eslint-suppressions.json @@ -568,11 +568,6 @@ "count": 1 } }, - "open-sse/services/imageCombo.ts": { - "@typescript-eslint/no-unused-vars": { - "count": 1 - } - }, "open-sse/services/inAppLoginService.ts": { "@typescript-eslint/no-explicit-any": { "count": 2 @@ -2806,11 +2801,6 @@ "count": 10 } }, - "tests/unit/chat-helpers.test.ts": { - "@typescript-eslint/no-explicit-any": { - "count": 13 - } - }, "tests/unit/chat-rate-limit-body-lock.test.ts": { "@typescript-eslint/no-explicit-any": { "count": 2