Browse Source

tweak cyclomatic complexity jshint config

patch-2
Manuel Araoz 10 years ago
parent
commit
5bdda7c95b
  1. 2
      .jshintrc

2
.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

Loading…
Cancel
Save