Skip to content

Commit 2d97799

Browse files
graingertljharb
authored andcommitted
[eslint config] [base] [minor] only allow one newline at the end
1 parent 8c83d03 commit 2d97799

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-1
lines changed

packages/eslint-config-airbnb-base/rules/style.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ module.exports = {
302302
'no-multi-assign': ['error'],
303303

304304
// disallow multiple empty lines and only one newline at the end
305-
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 1 }],
305+
'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 0 }],
306306

307307
// disallow negated conditions
308308
// https://eslint.org/docs/rules/no-negated-condition

0 commit comments

Comments
 (0)