Skip to content

Commit

Permalink
chore: synchronize config of standardjs (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Dec 16, 2022
1 parent 5d5b3c3 commit 42dddba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/basic/index.js
Expand Up @@ -231,7 +231,6 @@ module.exports = {
asyncArrow: 'always',
},
],
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],

// es6
'no-var': 'error',
Expand Down
11 changes: 2 additions & 9 deletions packages/basic/standard.js
Expand Up @@ -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',
Expand Down Expand Up @@ -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 }],
Expand Down

0 comments on commit 42dddba

Please sign in to comment.