make block statements more readable
This commit is contained in:
parent
716dcad5dd
commit
06907fa109
2
index.js
2
index.js
@ -44,7 +44,7 @@ module.exports = {
|
|||||||
'class-methods-use-this': 'error',
|
'class-methods-use-this': 'error',
|
||||||
complexity: ['warn', { max: 10 }],
|
complexity: ['warn', { max: 10 }],
|
||||||
'consistent-return': ['error', { treatUndefinedAsUnspecified: false }],
|
'consistent-return': ['error', { treatUndefinedAsUnspecified: false }],
|
||||||
curly: ['error', 'multi'],
|
curly: ['error', 'multi-or-nest', 'consistent'],
|
||||||
'default-case': ['error', { commentPattern: '^no\\sdefault' }],
|
'default-case': ['error', { commentPattern: '^no\\sdefault' }],
|
||||||
'default-param-last': 'error',
|
'default-param-last': 'error',
|
||||||
'dot-location': ['error', 'property'],
|
'dot-location': ['error', 'property'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user