mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-10-19 13:50:15 -04:00
Enforce the use of function declarations
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
235d7efa19
commit
fc1008e773
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