Skip to content

Commit b3fcb88

Browse files
francoischalifoursamouss
authored andcommitted
feat(typescript): allow unused vars starting with underscores (#111)
1 parent fafb6e2 commit b3fcb88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rules/typescript.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = {
4242
'@typescript-eslint/no-unused-vars': [
4343
'error',
4444
{
45+
argsIgnorePattern: '^_',
4546
ignoreRestSiblings: true,
4647
},
4748
],

0 commit comments

Comments
 (0)