fix: Fix lint errors (#559)

* cleanup: postactions styling

* misc: fix first round of errors

* pkg: remove vitest

* fix: fix lint errors stage 2

* fix: fix lint errors stage 3

* fix: fix lint errors, stage 3

* misc: update eslint rules to warn for writable derived
This commit is contained in:
Xylight authored and GitHub committed 2025-06-09 16:34:06 -07:00
1 parent 1824245f13
commit 76c581123a
225 files changed
+1553 -2352

No files matched your search

+3 -4
View File
@@ -3,10 +3,9 @@
import Header from '$lib/components/ui/layout/pages/Header.svelte'
import Pageination from '$lib/components/ui/Pageination.svelte'
import { t } from '$lib/i18n/translations'
import { searchParam } from '$lib/util.svelte'
import { flip } from 'svelte/animate'
import { expoInOut } from 'svelte/easing'
import PictrsImage from './PictrsImage.svelte'
import { expoInOut, expoOut } from 'svelte/easing'
let { data = $bindable() } = $props()
</script>
@@ -20,7 +19,7 @@
ondelete={() => {
data.images = data.images.toSpliced(
data.images.findIndex(
(i) =>
i =>
i.local_image.pictrs_delete_token ==
image.local_image.pictrs_delete_token,
),
@@ -34,7 +33,7 @@
{#if data.images.length == 20}
<Pageination
page={Number(page.url.searchParams.get('page')) || 1}
href={(page) => `?page=${page}`}
href={page => `?page=${page}`}
/>
{/if}