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
@@ -23,7 +23,7 @@
|
||||
}
|
||||
|
||||
return urlObj.toString()
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,6 @@
|
||||
res?: number | undefined
|
||||
style?: string
|
||||
class?: ClassValue
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
let {
|
||||
@@ -53,7 +52,7 @@
|
||||
}: Props = $props()
|
||||
|
||||
let optimizedURLs = $derived(
|
||||
[2, 3, 6, -1].map((n) => optimizeUrl(url, (res || width) * n)),
|
||||
[2, 3, 6, -1].map(n => optimizeUrl(url, (res || width) * n)),
|
||||
)
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user