Skip to content

Commit cad3db3

Browse files
vladshcherbinljharb
authored andcommitted
[eslint config] [base] [minor] Disallow multiple empty lines
1 parent 7aa0fa1 commit cad3db3

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ module.exports = {
313313

314314
// disallow multiple empty lines, only one newline at the end, and no new lines at the beginning
315315
// https://eslint.org/docs/rules/no-multiple-empty-lines
316-
'no-multiple-empty-lines': ['error', { max: 2, maxBOF: 0, maxEOF: 0 }],
316+
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
317317

318318
// disallow negated conditions
319319
// https://eslint.org/docs/rules/no-negated-condition

0 commit comments

Comments
 (0)