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

+2 -4
View File
@@ -2,7 +2,6 @@
import Button from '../button/Button.svelte'
import { generateID } from '../forms/helper.js'
import { Label } from '../index.js'
import { Icon, PaperClip } from 'svelte-hero-icons'
interface Props {
accept?: string
@@ -51,12 +50,11 @@
<div
class="flex flex-row items-center -space-x-1 hover:space-x-1 z-20 h-8"
>
{#each previewURLs as file}
<!-- svelte-ignore a11y_missing_attribute -->
{#each previewURLs as file (file)}
<img
src={file}
onload={() => URL.revokeObjectURL(file)}
alt={file}
alt=""
class="w-8 h-8 object-cover rounded-full hover:w-16
hover:h-16 transition-all border border-slate-200 ring-1
ring-slate-50 dark:ring-zinc-950 bg-white dark:bg-zinc-950"