X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=build%2Fjslint-check.js;h=976975a2693e6261189a6535c0e0869529053ad3;hb=f28c774f2cde004a33aefc28306d995c599d963b;hp=3e9c126396bfafcb8577d86710c442c00999904b;hpb=950b5d64a27994db1697eb4e605f5ea48ad8021b;p=jquery.git diff --git a/build/jslint-check.js b/build/jslint-check.js index 3e9c126..976975a 100644 --- a/build/jslint-check.js +++ b/build/jslint-check.js @@ -2,7 +2,7 @@ load("build/jslint.js"); var src = readFile("dist/jquery.js"); -JSLINT(src, { evil: true, forin: true }); +JSLINT(src, { evil: true, forin: true, maxerr: 100 }); // All of the following are known issues that we think are 'ok' // (in contradiction with JSLint) more information here: @@ -12,8 +12,8 @@ var ok = { "Use '===' to compare with 'null'.": true, "Use '!==' to compare with 'null'.": true, "Expected an assignment or function call and instead saw an expression.": true, - "Expected a 'break' statement before 'case'.": true - + "Expected a 'break' statement before 'case'.": true, + "'e' is already defined.": true }; var e = JSLINT.errors, found = 0, w;