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/List/Anime/CleanAnimeList.svelte | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

(limited to 'src/lib/List/Anime/CleanAnimeList.svelte')

diff --git a/src/lib/List/Anime/CleanAnimeList.svelte b/src/lib/List/Anime/CleanAnimeList.svelte
index c8bf1b7d..0bc88489 100644
--- a/src/lib/List/Anime/CleanAnimeList.svelte
+++ b/src/lib/List/Anime/CleanAnimeList.svelte
@@ -1,27 +1,26 @@
 <script lang="ts">
-import Spacer from "$lib/Layout/Spacer.svelte";
-import locale from "$stores/locale";
-
-import settings from "$stores/settings";
-import type { Media } from "$lib/Data/AniList/media";
-import { cleanCache, incrementMediaProgress } from "$lib/Media/Anime/cache";
-import { totalEpisodes } from "$lib/Media/Anime/episodes";
-import type { AniListAuthorisation } from "$lib/Data/AniList/identity";
-import ListTitle from "../ListTitle.svelte";
 import { onDestroy, onMount } from "svelte";
+import { browser } from "$app/environment";
+import type { AniListAuthorisation } from "$lib/Data/AniList/identity";
+import type { Media } from "$lib/Data/AniList/media";
+import Spacer from "$lib/Layout/Spacer.svelte";
 import AiringTime from "$lib/Media/Anime/Airing/AiringTime.svelte";
 import { hasDueEpisodes } from "$lib/Media/Anime/Airing/classify";
-import { browser } from "$app/environment";
+import { cleanCache, incrementMediaProgress } from "$lib/Media/Anime/cache";
+import { totalEpisodes } from "$lib/Media/Anime/episodes";
 import identity from "$stores/identity";
+import locale from "$stores/locale";
+import settings from "$stores/settings";
+import ListTitle from "../ListTitle.svelte";
 import "../covers.css";
-import revalidateAnime from "$stores/revalidateAnime";
+import localforage from "localforage";
+import { track } from "$lib/analytics";
 import CleanGrid from "$lib/List/CleanGrid.svelte";
-import CleanList from "../CleanList.svelte";
+import revalidateAnime from "$stores/revalidateAnime";
 import stateBin from "$stores/stateBin";
-import localforage from "localforage";
+import CleanList from "../CleanList.svelte";
 import MediaRoulette from "../MediaRoulette.svelte";
 import type { Title } from "../mediaTitle";
-import { track } from "$lib/analytics";
 
 export let media: Media[];
 export let title: Title;
-- 
cgit v1.2.3

