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/Tools/Tracker/Tool.svelte | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'src/lib/Tools/Tracker/Tool.svelte')

diff --git a/src/lib/Tools/Tracker/Tool.svelte b/src/lib/Tools/Tracker/Tool.svelte
index 3185e79b..c8977bc9 100644
--- a/src/lib/Tools/Tracker/Tool.svelte
+++ b/src/lib/Tools/Tracker/Tool.svelte
@@ -1,11 +1,11 @@
 <script lang="ts">
-import Spacer from "$lib/Layout/Spacer.svelte";
+import { onMount } from "svelte";
+import { get } from "svelte/store";
 import { v6 as uuidv6 } from "uuid";
 import { database, type TrackerEntry } from "$lib/Database/IDB/tracker";
-import { onMount } from "svelte";
+import Spacer from "$lib/Layout/Spacer.svelte";
 import Message from "$lib/Loading/Message.svelte";
 import locale from "$stores/locale";
-import { get } from "svelte/store";
 
 let url = "";
 let title = "";
@@ -47,7 +47,8 @@ const addEntry = async (url: string, title: string, progress: number) => {
 		const existing = listAccess.find((entry) => entry.url === url)?.title;
 
 		error = (
-			get(locale)().tools.tracker?.entryExists ?? "Entry with URL already exists: {url}"
+			get(locale)().tools.tracker?.entryExists ??
+			"Entry with URL already exists: {url}"
 		).replace("{url}", existing ?? "");
 
 		return;
-- 
cgit v1.2.3

