diff options
| author | Fuwn <[email protected]> | 2026-05-29 23:44:08 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-29 23:44:08 +0000 |
| commit | 49879c43ebd9f36ec19f4c02fa2b121314126286 (patch) | |
| tree | bbf1e42eba5996640ffcc7f44d07245cdf2c5e5c /src/lib/User/BadgeWall/FallbackBadge.svelte | |
| parent | chore(biome): scope linting to remove Svelte false positives (diff) | |
| download | due.moe-49879c43ebd9f36ec19f4c02fa2b121314126286.tar.xz due.moe-49879c43ebd9f36ec19f4c02fa2b121314126286.zip | |
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.
Diffstat (limited to 'src/lib/User/BadgeWall/FallbackBadge.svelte')
| -rw-r--r-- | src/lib/User/BadgeWall/FallbackBadge.svelte | 12 |
1 files changed, 6 insertions, 6 deletions
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; |