mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 05:04:22 -05:00
Enforce the use of function declarations
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
5987e2ed7e
commit
b0c5cdaa0d
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ module.exports = {
|
||||||
jest: true,
|
jest: true,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
'func-style': ['error', 'declaration'],
|
||||||
'@typescript-eslint/no-unused-vars': [
|
'@typescript-eslint/no-unused-vars': [
|
||||||
'warn',
|
'warn',
|
||||||
{ argsIgnorePattern: '^_+$' },
|
{ argsIgnorePattern: '^_+$' },
|
||||||
|
|
Loading…
Reference in a new issue