fix
This commit is contained in:
parent
1b3da7a3b7
commit
75f13ac6cc
2
index.js
2
index.js
@ -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'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user