Skip to content

Commit

Permalink
ESLint: Raise allowed method complexity to 7
Browse files Browse the repository at this point in the history
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
  • Loading branch information
agraebe committed May 17, 2016
1 parent ec99e50 commit 198e9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 198e9f3

Please sign in to comment.