Permalink
Browse files

Added more global ignores to jslint config, for coverage files (to re…

…duce noise when doing an ant -Dlint.all=true)
  • Loading branch information...
sdesai committed Aug 13, 2012
1 parent e35347b commit 85679053f83b93500df3b38cf37c847a09be583a
Showing with 6 additions and 0 deletions.
  1. +3 −0 componentbuild/lib/jslint/jslint-console.js
  2. +3 −0 componentbuild/lib/jslint/jslint-node.js
@@ -19,6 +19,9 @@ load(jslintsrc);
undef: true,
newcap: false,
predef:["YUI", "window", "YUI_config", "YAHOO", "YAHOO_config", "Event",
+ "_yuitest_coverline",
+ "_yuitest_coverage",
+ "_yuitest_coverfunc",
"opera", "exports", "document", "navigator", "console", "self"]
};
@@ -19,6 +19,9 @@ JSLINT = require("./fulljslint").JSLINT;
newcap: false,
predef:["YUI", "window", "YUI_config", "YAHOO", "YAHOO_config", "Event",
"opera", "exports", "document", "navigator", "console", "self", "require",
+ "_yuitest_coverline",
+ "_yuitest_coverfunc",
+ "_yuitest_coverage",
"module", "process", "__dirname", "__filename"]
};

0 comments on commit 8567905

Please sign in to comment.