Skip to content

Commit

Permalink
[eslint config] [base] [minor] only allow one newline at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert authored and ljharb committed Apr 30, 2018
1 parent 8c83d03 commit 2d97799
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 @@ -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
Expand Down

0 comments on commit 2d97799

Please sign in to comment.