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,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import { photonify } from './plugins'
|
||||
import { photonify } from './plugins.js'
|
||||
|
||||
interface Props {
|
||||
href?: string
|
||||
title?: any
|
||||
title?: string
|
||||
children?: import('svelte').Snippet
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
export const parseURL = (href: string) => {
|
||||
try {
|
||||
return new URL(href)
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user