mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 00:54:43 -04: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'],
|
'one-var': ['warn'],
|
||||||
'quotes': ['warn'],
|
'quotes': ['warn'],
|
||||||
'space-infix-ops': ['warn'],
|
'space-infix-ops': ['warn'],
|
||||||
'import/no-default-export': ['error']
|
'import/no-default-export': ['error'],
|
||||||
|
'@typescript-eslint/no-unused-vars': ['warn', { "argsIgnorePattern": "^_+$" }],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue