summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/scraper/ComicScrapeForm.svelte
diff options
context:
space:
mode:
authorWolfgang Müller2025-03-26 19:40:28 +0100
committerWolfgang Müller2025-03-26 19:40:28 +0100
commitf8e2f64316354b36099a01eef0735ec0970f5b99 (patch)
tree548c1292db012355a559f1f33500d799f22c2d70 /frontend/src/lib/scraper/ComicScrapeForm.svelte
parent820d976d9d288c37dcf36cf3227508362dd46dff (diff)
downloadhircine-f8e2f64316354b36099a01eef0735ec0970f5b99.tar.gz
frontend: Migrate to eslint-plugin-svelte 3.0
This includes a migration to a flat eslint.config.js, which will now also automatically ignore items from .gitignore. eslint-plugin-svelte 3.0 comes with a couple of changes to recommended rules as well, these are also addressed in this commit.
Diffstat (limited to 'frontend/src/lib/scraper/ComicScrapeForm.svelte')
-rw-r--r--frontend/src/lib/scraper/ComicScrapeForm.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/lib/scraper/ComicScrapeForm.svelte b/frontend/src/lib/scraper/ComicScrapeForm.svelte
index 6cc3451..6f995a9 100644
--- a/frontend/src/lib/scraper/ComicScrapeForm.svelte
+++ b/frontend/src/lib/scraper/ComicScrapeForm.svelte
@@ -80,7 +80,7 @@
<Select
id="scrapers"
options={scrapers}
- placeholder={'Select scraper...'}
+ placeholder="Select scraper..."
bind:value={context.scraper}
/>
</div>
@@ -96,6 +96,7 @@
<div class="flex flex-col gap-2">
<h2 class="flex gap-1 border-b border-slate-700 text-base font-medium">Warnings</h2>
<ul class="ml-2 list-inside list-disc">
+ <!-- eslint-disable-next-line svelte/require-each-key -->
{#each context.warnings as warning}
<li>{warning}</li>
{/each}