JavaScript code checking beyond JSLint

Zack Grossbart picture Zack Grossbart · Dec 10, 2009 · Viewed 8.2k times · Source

I'm looking for something that works like Checkstyle for JavaScript. I know about JSLint and I'm already using Google's Closure compiler, but these mostly check for syntactic issues. Checkstyle can check for braces on the wrong line, but it also makes it possible to write custom checks like don't use HashMap.

I'm looking for something like that for an upcoming JavaScript project. Any ideas?

Answer

dchest picture dchest · Dec 26, 2010

Google Closure Linter: http://code.google.com/closure/utilities/

"The Closure Linter is a utility that checks JavaScript files for style issues such as operator placement, missing semicolons, spacing, the presence of JsDoc annotations, and more."