From 6249034237e3c00711b07ad3c3e80cd943caae48 Mon Sep 17 00:00:00 2001 From: Sean Cady Date: Mon, 2 Feb 2015 15:30:41 -0500 Subject: [PATCH] Relaxing JSHint options for "too many parameters" Not sure the best way to handle this for option parameters, such as options --- lib/caching.js | 1 + lib/multi_caching.js | 2 ++ test/stores/options.unit.js | 2 ++ 3 files changed, 5 insertions(+) diff --git a/lib/caching.js b/lib/caching.js index e057702..b4ba5c5 100644 --- a/lib/caching.js +++ b/lib/caching.js @@ -1,4 +1,5 @@ /*jshint maxcomplexity:15*/ +/*jshint -W072 */ var domain = require('domain'); var caching = function(args) { diff --git a/lib/multi_caching.js b/lib/multi_caching.js index a426bf5..b4e28cb 100644 --- a/lib/multi_caching.js +++ b/lib/multi_caching.js @@ -1,3 +1,5 @@ +/*jshint -W072 */ + var async = require('async'); var domain = require('domain'); diff --git a/test/stores/options.unit.js b/test/stores/options.unit.js index 1dd531b..2342b1f 100644 --- a/test/stores/options.unit.js +++ b/test/stores/options.unit.js @@ -1,3 +1,5 @@ +/*jshint -W072 */ + var caching = require("../../index"); var assert = require("assert"); var support = require('../support');