Skip to content

Commit d4ad007

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 88468a4 commit d4ad007

File tree

2 files changed

+49
-87
lines changed

2 files changed

+49
-87
lines changed

package-lock.json

+48-86
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
@@ -43,7 +43,7 @@
4343
"clsx": "^2.1.1",
4444
"eslint": "^9.19.0",
4545
"eslint-config-prettier": "^10.0.1",
46-
"eslint-plugin-svelte": "^2.46.1",
46+
"eslint-plugin-svelte": "^3.0.0-next.5",
4747
"fzf": "^0.5.2",
4848
"globals": "^15.13.0",
4949
"jsdom": "^26.0.0",

0 commit comments

Comments
 (0)