Many JavaScript implementations do not warn against questionable coding practices which is a nightmare when you actually want to write quality, maintainable code. That’s where JavaScript Lint comes in. With JavaScript Lint, you can check all your JavaScript source code for common mistakes without actually running the script or opening the web page. This video takes a concise look at what Lint is, how to use it, and how to incorporate it into your automated build.
Video Source, Transcript, Code Reference: http://jamesshore.com/Blog/Lessons-Learned-Lint-and-Javascript.html