Skip to content

Commit 894c03e

Browse files
authored
fix(eslint-config-svelte): disable no-unsafe-call due to parser bug (#56)
1 parent 5108b36 commit 894c03e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/eslint-config-svelte/eslint-config-svelte.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ const baseSvelteConfig = createConfig(
6666
// Svelte ESLint parser does not type snippets correctly
6767
// https://github.com/sveltejs/svelte-eslint-parser/issues/657
6868
'@typescript-eslint/no-confusing-void-expression': 'off',
69+
70+
// Svelte ESLint parser can lose function prop types
71+
// https://github.com/sveltejs/svelte-eslint-parser/issues/608
72+
'@typescript-eslint/no-unsafe-call': 'off',
6973
},
7074
},
7175

packages/eslint-config-svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publishConfig": {
44
"access": "public"
55
},
6-
"version": "1.0.1",
6+
"version": "1.0.2",
77
"description": "ESLint configuration for Svelte projects at Viam.",
88
"type": "module",
99
"main": "./eslint-config-svelte.js",

0 commit comments

Comments
 (0)