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'],
|
'object-curly-spacing': ['error', 'always'],
|
||||||
'no-return-await': 'off',
|
'no-return-await': 'off',
|
||||||
'space-before-function-paren': ['error', 'never'],
|
'space-before-function-paren': ['error', 'never'],
|
||||||
|
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }],
|
||||||
|
|
||||||
// es6
|
// es6
|
||||||
'no-var': 'error',
|
'no-var': 'error',
|
||||||
@ -292,7 +293,7 @@ module.exports = {
|
|||||||
'yml/no-empty-document': 'off',
|
'yml/no-empty-document': 'off',
|
||||||
|
|
||||||
// antfu
|
// antfu
|
||||||
'antfu/no-leading-newline': 'error',
|
// 'antfu/no-leading-newline': 'error',
|
||||||
'antfu/if-newline': 'error',
|
'antfu/if-newline': 'error',
|
||||||
// 'antfu/prefer-inline-type-import': 'error',
|
// 'antfu/prefer-inline-type-import': 'error',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user