It’s a tool, that every language should have. It defines its own coding style, no doubt. But I like that style as its clean, crisp and small at a time.
[[http://crockfordfacts.com/|Douglas Crockford]], the inventor of JSLint and living „Java Script machine“, has put up this wonderful little site, [[http://www.jslint.com]], around the Java-Script-Function of JSLint. It’s nice, but a little inconvenient when you’re dealing with a „write – correct – write – correct“-Situation.
I wrapped up this small script to make JSLint accessible from the command line using rhino: