diff --git a/packages/basic/index.js b/packages/basic/index.js index b70aff9..0c5ab5b 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -184,6 +184,7 @@ module.exports = { 'object-curly-spacing': ['error', 'always'], 'no-return-await': 'off', 'space-before-function-paren': ['error', 'never'], + 'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }], // es6 'no-var': 'error', @@ -292,7 +293,7 @@ module.exports = { 'yml/no-empty-document': 'off', // antfu - 'antfu/no-leading-newline': 'error', + // 'antfu/no-leading-newline': 'error', 'antfu/if-newline': 'error', // 'antfu/prefer-inline-type-import': 'error', },