litellm/ui
Yuneng Jiang f3ba562b20
refactor(ui): remove dead local variables and gate the rule in eslint
@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.
2026-08-04 13:28:19 -07:00
..
litellm-dashboard refactor(ui): remove dead local variables and gate the rule in eslint 2026-08-04 13:28:19 -07:00
Dockerfile chore(build): move the Admin UI toolchain to Node 24 (#35801) 2026-08-04 12:36:07 -07:00
nginx.conf fix(ui): serve /ui/assets from the nginx image instead of SPA fallback (#34066) 2026-07-21 09:22:02 -07:00