Skip to content

Commit

Permalink
updated jshint settings for complexity with switch statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Livingston committed Sep 19, 2014
1 parent 4f3fc3a commit 345d337
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
"maxparams": 5,
"maxdepth": 5,
"maxstatements": 50,
"maxcomplexity": 10
"maxcomplexity": 15
}
2 changes: 1 addition & 1 deletion lib/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function coercion(parameter) {
var fn;

switch (parameter.type) {
case 'array':
case 'array' :
fn = function (data) {
var sep = pathsep(parameter.collectionFormat || 'csv');
return data.split(sep);
Expand Down

0 comments on commit 345d337

Please sign in to comment.