Enforce the use of function declarations

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-02-27 17:54:24 +01:00
parent 5987e2ed7e
commit b0c5cdaa0d
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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: '^_+$' },