Skip to content

Commit 0718e07

Browse files
committed
Disable 'no-unused-vars' when they start with an underscore
1 parent 540ca32 commit 0718e07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.eslintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
],
3636
"@typescript-eslint/no-non-null-assertion": [
3737
"off"
38+
],
39+
"@typescript-eslint/no-unused-vars": [
40+
"error",
41+
{
42+
"argsIgnorePattern": "^_"
43+
}
3844
]
3945
}
4046
}

0 commit comments

Comments
 (0)