Skip to content

chore(quality): drop two stale ESLint suppression entries - #13384

Merged
diegosouzapw merged 1 commit into
release/v3.8.51from
fix/stale-eslint-suppressions
Sep 11, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.51from
fix/stale-eslint-suppressions

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

#12653 and #12358 fixed the violations these entries covered but left the entries in place, and ESLint treats a suppression with nothing left to suppress as an error. The practical effect is that the pre-commit hook rejects any commit whose staged set includes either file — which is how I found it, reconciling a PR against the tip.

  • open-sse/services/imageCombo.ts — no-unused-vars
  • tests/unit/chat-helpers.test.ts — no-explicit-any

Both are deleted rather than re-counted, so this tightens the ratchet.

Not touched here: the three no-explicit-any errors in tests/unit/volcengine-plan-binding-upsert.test.ts, which make npm run lint exit 2 on the pure tip today. Issue #13215 is closed but that red is still live on release/v3.8.51.

⚠️ base-red inherited: #12732

#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.
@diegosouzapw
diegosouzapw merged commit 00f16a2 into release/v3.8.51 Sep 11, 2026
7 of 11 checks passed
Githab-capibara added a commit to Githab-capibara/OmniRoute that referenced this pull request Sep 17, 2026
…pw#13384)

Unblocks the pre-commit hook; both suppressions had nothing left to suppress.
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…pw#13384)

Unblocks the pre-commit hook; both suppressions had nothing left to suppress.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant