From 2d9779907f9760472e0318ad11b01f67a9f5dc7e Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Mon, 30 Apr 2018 09:30:38 +0100 Subject: [PATCH] [eslint config] [base] [minor] only allow one newline at the end --- packages/eslint-config-airbnb-base/rules/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb-base/rules/style.js b/packages/eslint-config-airbnb-base/rules/style.js index 0f58957211..ca8fc07ae6 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -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