diff --git a/packages/basic/index.js b/packages/basic/index.js index 52386f7..f9e4f38 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -231,7 +231,6 @@ module.exports = { asyncArrow: 'always', }, ], - 'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }], // es6 'no-var': 'error', diff --git a/packages/basic/standard.js b/packages/basic/standard.js index b97f667..565c1c0 100644 --- a/packages/basic/standard.js +++ b/packages/basic/standard.js @@ -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 }],