Skip to content

Commit 325a49a

Browse files
committed
feat(svelte): add support for typing according to sveltejs/rfcs#38
1 parent a8a3e35 commit 325a49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configs/svelte.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export async function svelte(
5656
caughtErrors: "none",
5757
ignoreRestSiblings: true,
5858
vars: "all",
59-
varsIgnorePattern: "^\\$\\$Props$",
59+
varsIgnorePattern: "^(\\$\\$Props$|\\$\\$Events$|\\$\\$Slots$)",
6060
}],
6161

6262
"svelte/comment-directive": "error",

0 commit comments

Comments
 (0)