[eslint config] [base] [minor] only allow one newline at the end

This commit is contained in:
Thomas Grainger
2018-04-30 09:30:38 +01:00
committed by Jordan Harband
parent 8c83d03a20
commit 2d9779907f

View File

@@ -302,7 +302,7 @@ module.exports = {
'no-multi-assign': ['error'],
// disallow multiple empty lines and only one newline at the end
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 1 }],
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0 }],
// disallow negated conditions
// https://eslint.org/docs/rules/no-negated-condition