diff options
author | Wolfgang Müller | 2025-03-26 19:40:28 +0100 |
---|---|---|
committer | Wolfgang Müller | 2025-03-26 19:40:28 +0100 |
commit | f8e2f64316354b36099a01eef0735ec0970f5b99 (patch) | |
tree | 548c1292db012355a559f1f33500d799f22c2d70 /frontend/src/lib/pagination/Pagination.svelte | |
parent | 820d976d9d288c37dcf36cf3227508362dd46dff (diff) | |
download | hircine-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/pagination/Pagination.svelte')
-rw-r--r-- | frontend/src/lib/pagination/Pagination.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/lib/pagination/Pagination.svelte b/frontend/src/lib/pagination/Pagination.svelte index fc2935c..28fbeb2 100644 --- a/frontend/src/lib/pagination/Pagination.svelte +++ b/frontend/src/lib/pagination/Pagination.svelte @@ -37,7 +37,7 @@ <Target disabled={leftmost} target={pagination.page - 1}> <span class="icon-base icon-[material-symbols--keyboard-arrow-left]"></span> </Target> - {#each Array.from({ length: end + 1 - start }, (_, i) => i + start) as target} + {#each Array.from({ length: end + 1 - start }, (_, i) => i + start) as target (target)} <Target active={pagination.page === target} {target}> <p>{target.toString()}</p> </Target> |