From 5bdda7c95ba26ef9720a16fcac13cb08f2463559 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Tue, 9 Dec 2014 20:22:04 -0300 Subject: [PATCH] tweak cyclomatic complexity jshint config --- .jshintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jshintrc b/.jshintrc index 01b3225..82597a3 100644 --- a/.jshintrc +++ b/.jshintrc @@ -25,7 +25,7 @@ "maxparams": 4, // Maximum number of parameters for a function "maxstatements": 15, // Maximum number of statements in a function - "maxcomplexity": 4, // Cyclomatic complexity (http://en.wikipedia.org/wiki/Cyclomatic_complexity) + "maxcomplexity": 6, // Cyclomatic complexity (http://en.wikipedia.org/wiki/Cyclomatic_complexity) "maxdepth": 4, // Maximum depth of nested control structures "maxlen": 120, // Maximum number of cols in a line