We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_
no-unused-vars
1 parent 08820cb commit 6364308Copy full SHA for 6364308
svelte/eslint.config.js
@@ -28,6 +28,16 @@ export default defineConfig(
28
// typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
29
// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
30
'no-undef': 'off',
31
+
32
+ '@typescript-eslint/no-unused-vars': [
33
+ 'error',
34
+ {
35
+ argsIgnorePattern: '^_',
36
+ caughtErrorsIgnorePattern: '^_',
37
+ destructuredArrayIgnorePattern: '^_',
38
+ varsIgnorePattern: '^_',
39
+ },
40
+ ],
41
},
42
43
{
0 commit comments