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

@@ -13,19 +13,18 @@
import { amModOfAny } from '../moderation/moderation'
import { t } from '$lib/i18n/translations'
import Option from 'mono-svelte/forms/select/Option.svelte'
import type { SelectProps } from 'mono-svelte/forms/select/Select.svelte'
interface Props {
interface Props extends SelectProps<string> {
selected: string
navigate?: boolean
changeDefault?: boolean
showLabel?: boolean
[key: string]: any
}
let {
selected = $bindable(),
navigate = true,
changeDefault = false,
showLabel = true,
...rest
}: Props = $props()
@@ -3,6 +3,8 @@
import { t } from '$lib/i18n/translations'
import { searchParam } from '$lib/util.svelte.js'
import { Select } from 'mono-svelte'
import Option from 'mono-svelte/forms/select/Option.svelte'
import type { SelectProps } from 'mono-svelte/forms/select/Select.svelte'
import {
ArrowTrendingDown,
ArrowTrendingUp,
@@ -21,21 +23,18 @@
Trophy,
} from 'svelte-hero-icons'
import { backOut } from 'svelte/easing'
import { fly, slide } from 'svelte/transition'
import Option from 'mono-svelte/forms/select/Option.svelte'
import { fly } from 'svelte/transition'
interface Props {
interface Props extends SelectProps<string> {
selected: string
navigate?: boolean
changeDefault?: boolean
class?: string
[key: string]: any
}
let {
selected = $bindable(),
navigate = true,
changeDefault = false,
class: clazz = '',
...rest
}: Props = $props()
@@ -1,22 +1,12 @@
<script lang="ts">
import { settings } from '$lib/settings.svelte.js'
import { t } from '$lib/i18n/translations'
import { settings } from '$lib/settings.svelte.js'
import { Select } from 'mono-svelte'
import Option from 'mono-svelte/forms/select/Option.svelte'
import {
Bars3,
Clock,
Icon,
ListBullet,
QueueList,
RectangleGroup,
Square2Stack,
ViewColumns,
} from 'svelte-hero-icons'
import { Bars3, Icon, RectangleGroup, ViewColumns } from 'svelte-hero-icons'
interface Props {
showLabel?: boolean
[key: string]: any
}
let { showLabel = true, ...rest }: Props = $props()