This commit is contained in:
Timo Hocker 2020-04-09 20:11:02 +02:00
parent 1b3da7a3b7
commit 75f13ac6cc

View File

@ -36,7 +36,7 @@ module.exports = {
// Best Practices https://eslint.org/docs/rules/#best-practices // Best Practices https://eslint.org/docs/rules/#best-practices
'array-callback-return': ['error', { allowImplicit: false }], 'array-callback-return': ['error', { allowImplicit: false }],
'block-scoped-var': 'error', 'block-scoped-var': 'error',
'class-methods-use-this': 'error', 'class-methods-use-this': 'off',
complexity: ['warn', { max: 10 }], complexity: ['warn', { max: 10 }],
'consistent-return': ['error', { treatUndefinedAsUnspecified: false }], 'consistent-return': ['error', { treatUndefinedAsUnspecified: false }],
curly: ['error', 'multi-or-nest', 'consistent'], curly: ['error', 'multi-or-nest', 'consistent'],