Skip to content

Commit 198e9f3

Browse files
committed
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
1 parent ec99e50 commit 198e9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rules:
4444
# Best Practices
4545
accessor-pairs: 2
4646
block-scoped-var: 0
47-
complexity: [2, 6]
47+
complexity: [2, 7]
4848
consistent-return: 0
4949
curly: 0
5050
default-case: 0

0 commit comments

Comments
 (0)