From 3a777dcf407b2438496df0b842db0aa5ebc61c21 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 5 Mar 2019 01:16:13 -0500 Subject: [PATCH] ESLint: Use ignoreChainWithDepth: 3 for newline-per-chained-call --- .eslintrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index e2919b8615..0618849126 100644 --- a/.eslintrc +++ b/.eslintrc @@ -161,7 +161,12 @@ "always-multiline" ], "new-parens": "off", - "newline-per-chained-call": "error", + "newline-per-chained-call": [ + "error", + { + "ignoreChainWithDepth": 3 + } + ], "no-alert": "off", "no-array-constructor": "error", "no-await-in-loop": "warn",