chore: replace no-leading-newline
with no-multiple-empty-lines
(#82)
This commit is contained in:
parent
2d9efd4df6
commit
686f285a37
@ -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',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user