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,6 +3,7 @@
import { Button, buttonColor } from 'mono-svelte'
import { Icon, type IconSource } from 'svelte-hero-icons'
import type { ButtonProps } from 'mono-svelte/button/Button.svelte'
import type { Snippet } from 'svelte'
interface Props extends ButtonProps {
label: string
@@ -11,9 +12,8 @@
adaptive?: boolean
isSelectedFilter?: (path: string) => boolean
class?: string
customIcon?: import('svelte').Snippet<[any]>
children?: import('svelte').Snippet
[key: string]: any
customIcon?: Snippet<[{ size: number; isSelected?: boolean }]>
children?: Snippet
}
let {
@@ -21,7 +21,7 @@
icon,
href,
adaptive = true,
isSelectedFilter = (path) => href != undefined && path == href,
isSelectedFilter = path => href != undefined && path == href,
class: clazz = '',
customIcon,
children,