mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
@typescript-eslint/no-unused-vars was disabled in the dashboard's eslint config, so only unused imports were ever caught and dead locals accumulated unchecked. CodeQL's js/unused-local-variable was the only thing seeing them, where 168 findings buried the genuinely high-severity alerts in the nightly scan. Removes every unused local in ui/litellm-dashboard/src and turns the rule on so the cleanup holds. Declarations whose initializer carries a side effect (await, vi.spyOn, renderHook) keep the call and drop only the binding; positional array slots are elided rather than shifted. The two declaration-merged ColumnMeta interfaces keep their type parameters behind a scoped suppression, since TS2428 requires them to match upstream exactly. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||