Skip to content

Commit 94fb056

Browse files
chore: bump eslint-plugin-svelte version to fix linting bug
In version 2.46.1, which we previously used, eslint couldn't handle svelte each blocks without 'as'. We use on of these blocks on the project members settings page (src/routes/project/[projectId]/settings/members/+page.svelte): ```svelte {#each { length: numberOfSkeletons }, i} <ProjectMemberListEntrySkeleton /> {#if i < numberOfSkeletons - 1} <Separator /> {/if} {/each} ``` This was reported in sveltejs/eslint-plugin-svelte#953 and fixed in version 3.0.0-next.5. Now eslint works again with our codebase.
1 parent ac69f0f commit 94fb056

File tree

2 files changed

+54
-78
lines changed

2 files changed

+54
-78
lines changed

package-lock.json

+53-77
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"clsx": "^2.1.1",
4040
"eslint": "^9.17.0",
4141
"eslint-config-prettier": "^10.0.1",
42-
"eslint-plugin-svelte": "^2.46.1",
42+
"eslint-plugin-svelte": "^3.0.0-next.5",
4343
"globals": "^15.13.0",
4444
"jsdom": "^26.0.0",
4545
"license-checker": "^25.0.1",

0 commit comments

Comments
 (0)