Skip to content

Commit 71e2434

Browse files
committed
Fix ESLint Wrning
1 parent e483a65 commit 71e2434

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.eslintrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
],
2727
"no-redeclare": "off",
2828
"import/no-anonymous-default-export": "off",
29-
"@typescript-eslint/no-redeclare": ["error"]
29+
"@typescript-eslint/no-redeclare": ["error"],
30+
"no-unused-vars": "off",
31+
"@typescript-eslint/no-unused-vars": [
32+
"warn", // or "error"
33+
{
34+
"argsIgnorePattern": "^_",
35+
"varsIgnorePattern": "^_",
36+
"caughtErrorsIgnorePattern": "^_"
37+
}
38+
]
3039
}
3140
}

0 commit comments

Comments
 (0)