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

+7 -8
View File
@@ -108,7 +108,8 @@
},
}
interface Props extends Omit<HTMLButtonAttributes, 'prefix'> {
interface Props
extends Omit<HTMLButtonAttributes | HTMLAnchorAttributes, 'prefix'> {
loading?: boolean
submit?: boolean
color?: ButtonColor
@@ -118,7 +119,6 @@
alignment?: ButtonAlignment
shadow?: ButtonShadow
column?: boolean
animations?: any
loaderWidth?: number | undefined
href?: string | undefined
class?: ClassValue
@@ -126,14 +126,17 @@
children?: Snippet
suffix?: Snippet
onclick?: HTMLButtonAttributes['onclick']
[key: string]: any
}
export type { Props as ButtonProps }
</script>
<script lang="ts">
import type { ClassValue, HTMLButtonAttributes } from 'svelte/elements'
import type {
ClassValue,
HTMLAnchorAttributes,
HTMLButtonAttributes,
} from 'svelte/elements'
import Spinner from '../loader/Spinner.svelte'
import type { Snippet } from 'svelte'
@@ -148,10 +151,6 @@
alignment = 'center',
shadow = 'none',
column = false,
animations = {
scale: false,
large: false,
},
disabled,
loaderWidth = undefined,
href = undefined,