From 12fb48611ad2c035ba0aa30ccb5a708263867261 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 21 Feb 2016 10:57:42 -0800 Subject: [PATCH] =?UTF-8?q?Disable=20`newline-per-chained-call`=20until=20?= =?UTF-8?q?`eslint`=E2=80=99s=20bug=20is=20resolved.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bug: https://github.com/eslint/eslint/issues/5289 Closes #748. --- packages/eslint-config-airbnb/rules/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb/rules/style.js b/packages/eslint-config-airbnb/rules/style.js index c147aae8..b9b0e23f 100644 --- a/packages/eslint-config-airbnb/rules/style.js +++ b/packages/eslint-config-airbnb/rules/style.js @@ -62,7 +62,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': [2, { 'ignoreChainWithDepth': 3 }], + 'newline-per-chained-call': [0, { 'ignoreChainWithDepth': 3 }], // disallow use of the Array constructor 'no-array-constructor': 0, // disallow use of the continue statement