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:
1 parent
1824245f13
commit
76c581123a
225 files changed
+1553
-2352
No files matched your search
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { t } from '$lib/i18n/translations'
|
||||
import { TextInput, Select, Option } from 'mono-svelte'
|
||||
import type { Snippet } from 'svelte'
|
||||
|
||||
const multipliers = {
|
||||
minute: 60,
|
||||
@@ -22,17 +21,9 @@
|
||||
value: number
|
||||
max?: number
|
||||
min?: number
|
||||
number?: Snippet<[number]>
|
||||
duration?: Snippet<[Duration]>
|
||||
}
|
||||
|
||||
let {
|
||||
value = $bindable(),
|
||||
max,
|
||||
min = 0,
|
||||
number: numberSnippet,
|
||||
duration: durationSnippet,
|
||||
}: Props = $props()
|
||||
let { value = $bindable(), max, min = 0 }: Props = $props()
|
||||
|
||||
let number = $state<number>(0)
|
||||
let duration = $state<Duration>(value == -1 ? 'permanent' : 'day')
|
||||
|
||||
Reference in new issue
Block a user