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.
1 parent fd6b9b3 commit 6076e5aCopy full SHA for 6076e5a
eslint.config.ts
@@ -31,6 +31,19 @@ export default defineConfig(
31
"@typescript-eslint/no-empty-function": 0,
32
"prefer-template": 2,
33
"@typescript-eslint/consistent-type-imports": 2,
34
+ // Disabled to allow some variables to be explicitly ignored
35
+ "@typescript-eslint/no-unused-vars": [
36
+ "error",
37
+ {
38
+ vars: "all",
39
+ args: "after-used",
40
+ argsIgnorePattern: "^_",
41
+ varsIgnorePattern: "^_",
42
+ caughtErrorsIgnorePattern: "^_",
43
+ destructuredArrayIgnorePattern: "^_",
44
+ ignoreRestSiblings: true,
45
+ },
46
+ ],
47
},
48
49
{
0 commit comments