From 6c25bcf9c133e75f20bd7acec8877f310a8d9589 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 3 May 2016 22:15:25 -0700 Subject: [PATCH] [eslint config] [base] [breaking] Re-enabling `newline-per-chained-call` Per https://github.com/airbnb/javascript/issues/748#issuecomment-216690840 and https://github.com/eslint/eslint/pull/5365 --- 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 2144d64b..e9d0b501 100644 --- a/packages/eslint-config-airbnb-base/rules/style.js +++ b/packages/eslint-config-airbnb-base/rules/style.js @@ -70,7 +70,7 @@ module.exports = { // enforces new line after each method call in the chain to make it // more readable and easy to maintain // http://eslint.org/docs/rules/newline-per-chained-call - 'newline-per-chained-call': [0, { 'ignoreChainWithDepth': 3 }], + 'newline-per-chained-call': [2, { 'ignoreChainWithDepth': 3 }], // disallow use of the Array constructor 'no-array-constructor': 2, // disallow use of the continue statement