News for hackers. Stuff that matters.

twirlthestash

Re:Ask HN: JavaScript Dev Tools on Saturday February 04, 2012 @02:39PM (#3551841)
Try Closure Compiler instead of JSLint. It will catch your syntax errors without being so opinionated.

If you don't need Closure's minified output, don't use it; the error messages are still nice.

If you don't want to drop Closure into your app's JS build chain, use a Makefile for quick syntax checks: http://pastebin.com/raw.php?i=cqX165iD