mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
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:
parent
2a7c41a7fe
commit
ad3e25310a
1 changed files with 2 additions and 1 deletions
|
@ -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": "^_+$" }],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue