fix(lint): resolve remaining ESLint errors (unused vars, any types, react-refresh)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jason Staack
2026-03-14 22:50:50 -05:00
parent 8cf5f12ffe
commit fb3669f9ac
54 changed files with 144 additions and 155 deletions

View File

@@ -14,6 +14,7 @@ export interface KpiCardsProps {
* Formats bytes-per-second into a human-readable bandwidth string.
* Auto-scales through bps, Kbps, Mbps, Gbps.
*/
// eslint-disable-next-line react-refresh/only-export-components
export function formatBandwidth(bps: number): { value: number; unit: string } {
if (bps < 1_000) return { value: bps, unit: 'bps' }
if (bps < 1_000_000) return { value: bps / 1_000, unit: 'Kbps' }