From 49879c43ebd9f36ec19f4c02fa2b121314126286 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 29 May 2026 23:44:08 +0000 Subject: style: apply biome autofixes and resolve remaining lint findings Auto-fixed cosmetic findings (import ordering, obj["k"]->obj.k, optional chaining, template literals, Date.now, parseInt radix, useless ternaries/ switch cases). Resolved the non-autofixable rest by hand: - Senpy: static-only class -> object literal (no this/static reliance). - app.html: var global shim -> window.global = window (keeps the shim, drops the unused-var flag). - biome-ignore with rationale for the logout document.cookie clear and the holodule scrape non-null assertion. Verified: biome check 0 diagnostics, svelte-check 0/0, 24/24 unit tests. --- src/lib/Hololive/Lives.svelte | 2 +- src/lib/Hololive/Stream.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/Hololive') diff --git a/src/lib/Hololive/Lives.svelte b/src/lib/Hololive/Lives.svelte index eb357104..76e1ea8d 100644 --- a/src/lib/Hololive/Lives.svelte +++ b/src/lib/Hololive/Lives.svelte @@ -2,9 +2,9 @@ import Spacer from "$lib/Layout/Spacer.svelte"; import Message from "$lib/Loading/Message.svelte"; import root from "$lib/Utility/root"; +import locale from "$stores/locale"; import type { Live, ParseResult } from "./hololive"; import Stream from "./Stream.svelte"; -import locale from "$stores/locale"; export let schedule: ParseResult; export let pinnedStreams: string[]; diff --git a/src/lib/Hololive/Stream.svelte b/src/lib/Hololive/Stream.svelte index 1d464d7a..213ddea0 100644 --- a/src/lib/Hololive/Stream.svelte +++ b/src/lib/Hololive/Stream.svelte @@ -1,10 +1,10 @@