Skip to content

Commit 0cb2e47

Browse files
dashedlynnagara
authored andcommitted
lint(typescript): Fix no-unused-vars issues for imported types
As per https://43081j.com/2019/02/using-eslint-with-typescript
1 parent 7245a44 commit 0cb2e47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,12 @@ module.exports = {
1313
jest: true,
1414
},
1515
rules: {},
16+
overrides: [{
17+
files: ['*.ts', '*.tsx'],
18+
rules: {
19+
'@typescript-eslint/no-unused-vars': ['error', {
20+
args: 'none'
21+
}],
22+
},
23+
}, ],
1624
};

0 commit comments

Comments
 (0)