Skip to content

Commit 0b7def1

Browse files
authored
feat: allow unused variables to be ignored with an underscore prefix
1 parent 3aab732 commit 0b7def1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

configs/envylabs-ts.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ export default [
2626
files: ["**/*.ts"],
2727
rules: {
2828
"@typescript-eslint/explicit-module-boundary-types": "error",
29+
"@typescript-eslint/no-unused-vars": [
30+
"warn",
31+
{
32+
argsIgnorePattern: "^_",
33+
caughtErrorsIgnorePattern: "^_",
34+
varsIgnorePattern: "^_",
35+
},
36+
],
2937
},
3038
},
3139
{

0 commit comments

Comments
 (0)