Skip to content

Commit d2159e8

Browse files
committed
ignore _ var names in eslint
1 parent 97e57af commit d2159e8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

eslint.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ export default [
3434
"@typescript-eslint/no-explicit-any": "off",
3535
"@typescript-eslint/no-unused-vars": [
3636
"error",
37-
{ ignoreRestSiblings: true, varsIgnorePattern: "^_" },
37+
{
38+
ignoreRestSiblings: true,
39+
argsIgnorePattern: "^_",
40+
varsIgnorePattern: "^_",
41+
caughtErrorsIgnorePattern: "^_",
42+
destructuredArrayIgnorePattern: "^_",
43+
},
3844
],
3945
},
4046
},

0 commit comments

Comments
 (0)