chore: synchronize config of standardjs (#143)
This commit is contained in:
parent
5d5b3c338a
commit
42dddba96d
@ -231,7 +231,6 @@ module.exports = {
|
||||
asyncArrow: 'always',
|
||||
},
|
||||
],
|
||||
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
|
||||
|
||||
// es6
|
||||
'no-var': 'error',
|
||||
|
@ -134,7 +134,7 @@ module.exports = {
|
||||
'no-mixed-spaces-and-tabs': 'error',
|
||||
'no-multi-spaces': 'error',
|
||||
'no-multi-str': 'error',
|
||||
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0 }],
|
||||
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
|
||||
'no-new': 'error',
|
||||
'no-new-func': 'error',
|
||||
'no-new-object': 'error',
|
||||
@ -202,14 +202,7 @@ module.exports = {
|
||||
'semi': ['error', 'never'],
|
||||
'semi-spacing': ['error', { before: false, after: true }],
|
||||
'space-before-blocks': ['error', 'always'],
|
||||
'space-before-function-paren': [
|
||||
'error',
|
||||
{
|
||||
anonymous: 'always',
|
||||
named: 'never',
|
||||
asyncArrow: 'always',
|
||||
},
|
||||
],
|
||||
'space-before-function-paren': ['error', 'always'],
|
||||
'space-in-parens': ['error', 'never'],
|
||||
'space-infix-ops': 'error',
|
||||
'space-unary-ops': ['error', { words: true, nonwords: false }],
|
||||
|
Loading…
Reference in New Issue
Block a user