diff --git a/.jshintrc b/.jshintrc index 8972be0b..fa18ac74 100644 --- a/.jshintrc +++ b/.jshintrc @@ -31,7 +31,7 @@ // "maxparams" : false, // {int} Max number of formal params allowed per function // "maxdepth" : false, // {int} Max depth of nested blocks (within functions) // "maxstatements" : false, // {int} Max number statements per function - "maxcomplexity" : 8, // {int} Max cyclomatic complexity per function + "maxcomplexity" : 6, // {int} Max cyclomatic complexity per function "maxlen" : 120, // {int} Max number of characters per line // // // Relaxing diff --git a/test/unit/cartodb/template_maps.test.js b/test/unit/cartodb/template_maps.test.js index 1f9792d1..472d57b8 100644 --- a/test/unit/cartodb/template_maps.test.js +++ b/test/unit/cartodb/template_maps.test.js @@ -360,6 +360,7 @@ describe('template_maps', function() { }); it('instanciate templates', function() { + // jshint maxcomplexity:7 var tmap = new TemplateMaps(redis_pool); assert.ok(tmap);