I had started writing a JavaScript style-guide conformance tool. Might not be needed now: http://code.google.com/p/closure-linter/
Note that I’m currently partial to running it like this:
gjslint.py --strict $filename | grep "^Line" | grep -v "Line too long"