diff --git a/test/specs/jshint/jshint-clean.js b/test/specs/jshint/jshint-clean.js index 436aaab3..361d4015 100644 --- a/test/specs/jshint/jshint-clean.js +++ b/test/specs/jshint/jshint-clean.js @@ -41,8 +41,8 @@ describe("jshint-clean", function() { // check all .js files unless they're tests; rhino shim files that probably can't be // delinted; or third-party modules source = { - includePattern: ".+\\.js$", - excludePattern: ".+[\\\\|/]test[\\\\|/].+|.+rhino-shim\\.js|.+[\\\\|/]Jake[\\\\|/].+|.+[\\\\|/]node_modules[\\\\|/].+" + includePattern: '.+[\\|/]rhino_modules[\\|/].+\.js$|.+[\\|/]plugins[\\|/]\w+\.js$', + excludePattern: '.+[\\|/]test[\\|/].+' }; filter = new (require('jsdoc/src/filter').Filter)(source);