chore(eslint): adjust no-unused-vars rule

This commit is contained in:
Ivan Shmidt
2020-09-01 11:12:43 +02:00
parent 9b0ddfe111
commit a62d0af2c8
+6 -1
View File
@@ -56,7 +56,12 @@ module.exports = {
'@typescript-eslint/no-unused-expressions': 'error',
'@typescript-eslint/no-unused-vars': [
'warn',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },
{
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true,
argsIgnorePattern: '^_',
},
],
'no-restricted-imports': [
2,