mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint config] [base] [minor] only allow one newline at the end
This commit is contained in:
committed by
Jordan Harband
parent
8c83d03a20
commit
2d9779907f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user