From 198e9f3a10bb3ab84e3384e045295b2ec6fdb8e1 Mon Sep 17 00:00:00 2001 From: Alexander Graebe Date: Tue, 17 May 2016 11:46:54 -0700 Subject: [PATCH] ESLint: Raise allowed method complexity to 7 estimates.getPriceForRoute has a complexity of 7. A simpler method would require moving checks, which is I think more useful than meeting the lower complexity of 6 --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index b296507..61d9054 100644 --- a/.eslintrc +++ b/.eslintrc @@ -44,7 +44,7 @@ rules: # Best Practices accessor-pairs: 2 block-scoped-var: 0 - complexity: [2, 6] + complexity: [2, 7] consistent-return: 0 curly: 0 default-case: 0