Skip to content

Commit 00c963e

Browse files
committed
modify the jshint checks
1 parent 5210458 commit 00c963e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build/jshint-check.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ var JSHINT = require("./lib/jshint").JSHINT,
22
print = require("sys").print,
33
src = require("fs").readFileSync("dist/jstat.js", "utf8");
44

5-
JSHINT(src, { curly : false, forin : true, laxbreak : true, maxerr : 100, newcap : false, undef : true });
5+
JSHINT(src, {
6+
browser: true,
7+
curly : false,
8+
forin : true,
9+
laxbreak : true,
10+
maxerr : 1000,
11+
newcap : false,
12+
undef : true
13+
});
614

715
var ok = {
816
"The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype." : true,

0 commit comments

Comments
 (0)