fix(basic): disallow multi empty lines at the end of file (#137)

This commit is contained in:
曾明健 2022-12-13 01:00:59 +08:00 committed by GitHub
parent b58283d3d6
commit 4d38bd0293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ module.exports = {
asyncArrow: 'always',
},
],
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }],
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
// es6
'no-var': 'error',