tweak cyclomatic complexity jshint config
This commit is contained in:
parent
01b74b8df5
commit
5bdda7c95b
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
"maxparams": 4, // Maximum number of parameters for a function
|
"maxparams": 4, // Maximum number of parameters for a function
|
||||||
"maxstatements": 15, // Maximum number of statements in 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
|
"maxdepth": 4, // Maximum depth of nested control structures
|
||||||
"maxlen": 120, // Maximum number of cols in a line
|
"maxlen": 120, // Maximum number of cols in a line
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue