From 49879c43ebd9f36ec19f4c02fa2b121314126286 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
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/User/BadgeWall/FallbackBadge.svelte | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/lib/User/BadgeWall/FallbackBadge.svelte')

diff --git a/src/lib/User/BadgeWall/FallbackBadge.svelte b/src/lib/User/BadgeWall/FallbackBadge.svelte
index 04793aa0..f645176c 100644
--- a/src/lib/User/BadgeWall/FallbackBadge.svelte
+++ b/src/lib/User/BadgeWall/FallbackBadge.svelte
@@ -1,14 +1,14 @@
 <script lang="ts">
-import { classifyDesignerName } from "./badge";
-import locale from "$stores/locale";
+import { cubicOut } from "svelte/easing";
 import { tweened } from "svelte/motion";
-import type { Badge } from "../../Database/SB/User/badges";
+import { dev } from "$app/environment";
+import locale from "$stores/locale";
+import type { Preferences } from "../../../graphql/$types";
 import type { AWCBadge } from "../../Data/awc";
+import type { Badge } from "../../Database/SB/User/badges";
 import Tooltip from "../../Tooltip/LinkedTooltip.svelte";
 import { databaseTimeToDate } from "../../Utility/time";
-import { cubicOut } from "svelte/easing";
-import { dev } from "$app/environment";
-import type { Preferences } from "../../../graphql/$types";
+import { classifyDesignerName } from "./badge";
 
 export let source: string | null | undefined;
 export let alternative: string | null | undefined;
-- 
cgit v1.2.3

