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

@@ -22,6 +22,7 @@ function toDatetimeLocal(iso: string): string {
/**
* Returns start/end ISO strings for a given preset range or custom range.
*/
// eslint-disable-next-line react-refresh/only-export-components
export function getTimeRange(
range: string,
customStart?: string,
@@ -64,6 +65,7 @@ export function getTimeRange(
* Returns refetchInterval (ms) for short ranges, false for longer ones.
* Per user decision: 1h and 6h auto-refresh every 60 seconds.
*/
// eslint-disable-next-line react-refresh/only-export-components
export function shouldAutoRefresh(range: string): number | false {
if (range === '1h' || range === '6h') return 60_000
return false