Thougths on adding JSLint to the test suite?
Answer by Hernani , Qato lead developer and father of Tiago · Sep 24, 2010 at 11:38 AM
Jslint is to strict, and IMO a bit buggy. Those example you showed are the proof :)
Lint at line 3 character 37: Missing semicolon.
This one can cause warnings on some browsers when in a strict validation environment. Is probably the only relevant error.
Lint at line 6 character 32: Missing space after 'function'
Well, if an engine breaks because of that, than is not an engine, is some really buggy interpreter.
Lint at line 7 character 28: '$' is not defined.
This one is very strange. So we use jquery all over the place, and suddenly the jquery object is not defined?
Lint at line 8 character 13: Too many var statements.
Don't know what this means.
But a bit of validation doesn't hurt I guess.