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

@@ -29,15 +29,6 @@ interface TorchEntry {
rx: string
}
function formatBytes(val: string): string {
const n = parseInt(val, 10)
if (isNaN(n)) return val || '-'
if (n >= 1_000_000_000) return `${(n / 1_000_000_000).toFixed(2)} GB`
if (n >= 1_000_000) return `${(n / 1_000_000).toFixed(1)} MB`
if (n >= 1_000) return `${(n / 1_000).toFixed(0)} KB`
return `${n} B`
}
function formatBps(val: string): string {
const n = parseInt(val, 10)
if (isNaN(n)) return val || '-'