allow higher complexity
This commit is contained in:
parent
2d8ba4ebb0
commit
9ade446485
2
index.js
2
index.js
@ -31,7 +31,7 @@ module.exports = {
|
|||||||
'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': 'error',
|
||||||
complexity: ['warn', { max: 5 }],
|
complexity: ['warn', { max: 10 }],
|
||||||
'consistent-return': ['error', { treatUndefinedAsUnspecified: false }],
|
'consistent-return': ['error', { treatUndefinedAsUnspecified: false }],
|
||||||
curly: ['error', 'multi'],
|
curly: ['error', 'multi'],
|
||||||
'default-case': ['error', { commentPattern: '^no\\sdefault' }],
|
'default-case': ['error', { commentPattern: '^no\\sdefault' }],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user