added rule to eslintrc

unused arguments are okay if they only contain '_'s

Reference:
https://eslint.org/docs/rules/no-unused-vars#argsignorepattern

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
Philip Molares 2020-04-12 14:00:02 +02:00 committed by David Mehren
parent 2a7c41a7fe
commit ad3e25310a
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB

View file

@ -33,6 +33,7 @@ module.exports = {
'one-var': ['warn'],
'quotes': ['warn'],
'space-infix-ops': ['warn'],
'import/no-default-export': ['error']
'import/no-default-export': ['error'],
'@typescript-eslint/no-unused-vars': ['warn', { "argsIgnorePattern": "^_+$" }],
}
}