Skip to content

Commit

Permalink
[eslint config] [base] [minor] Disallow multiple empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
vladshcherbin authored and ljharb committed Jun 6, 2020
1 parent 7aa0fa1 commit cad3db3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/rules/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ module.exports = {

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

// disallow negated conditions
// https://eslint.org/docs/rules/no-negated-condition
Expand Down

0 comments on commit cad3db3

Please sign in to comment.