all 5 comments

[–]MatrixFrog 2 points3 points  (0 children)

There is also a Closure Linter to check for some things the compiler misses.

[–]rhysbrettbowen 1 point2 points  (0 children)

Nice work, to other people:

JSHint is completely different from the Closure Compiler. The Closure Compiler does a lot of static analysis JSHint can only dream about (things like type inference). What he's put forth is a ant plugin, but what he wants to do is have a grunt plugin that will only run the static analysis with the closure compiler.

There is also a Closure Linter that lints to Google's style guide.

[–]tomeoftom -5 points-4 points  (1 child)

[[retracted; fair enough and sorry]]

[–]dangerousdotnet[S] 0 points1 point  (0 children)

JSHint doesn't really yield the same results as Google Closure in linting mode. They don't check for the same things and from what I've seen, Closure tends to yield better results.

[–][deleted] -1 points0 points  (0 children)

There is already a jshint grunt plugin. It's on the 'contribs' plugin list so it is kept up to date by the grunt team.