mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 19:02:17 +03:00
`release/v3.8.51` is red on `ESLint errors: 3 error(s)`: tests/unit/volcengine-plan-binding-upsert.test.ts:70,96,120 error @typescript-eslint/no-explicit-any — Unexpected any. The violations are not new. #12795 regenerated `config/quality/eslint-suppressions.json` and pruned the entry that had these three frozen (0 additions, 5 deletions on that file), so a rule that is `error` in `tests/` since #6218 started failing the whole-repo lint on code the PR never touched. The casts were unnecessary to begin with: `__testing` exports `upsertConnection` directly (`src/lib/providers/volcenginePlanBinding.ts:380-383`) and it is a normally typed exported function, so `bindingTesting.upsertConnection(...)` resolves without help. Removing `as any` both clears the errors and puts the three call sites under type checking instead of opting them out — strictly better than restoring the suppression. Validated: eslint on the file exits 1 with all three errors before and 0 after; `typecheck:core` 0 errors; the file's own suite passes 3/3.