Here's some findings:
1) For a bit about the messages and what they mean see
http://wolfram.kriesing.de/blog/index.php/2007/understanding-jslint-output
2) To take control of the configuration you can alter the settings in CSE to something like:
- Code: Select all
-nologo -nofilelisting -nocontext -conf DRIVE:\Path\to\file\jsl.cse.MyVersion.conf -process "%FILE%"
The original setting is in the help file so you always change it back if you make a mistake!
3) An error suppresses following warnings. When you clear an error you may get a crop of warnings appear.
4) There seem to be several JSLint tools. Look for the Matthias Miller version.
5) You can switch checking off for a whole file or part of it:
- Code: Select all
/*jsl:ignoreall*/
/*jsl:ignore*/
(code that fires warnings)
/*jsl:end*/
6) I can confirm that with some of the extra features inside JSLint (Like: /*jsl:option explicit*/ to force variable declaration, /*jsl:import Whatever.js*/ to declare a dependency on another file and +define window (or whatever) in your configuration) it is possible to work well with the tool and get zero errors and warning messages, where you deserve it!!



