JSHint
JSHint is a really good way of making sure your JavaScript follows certain coding guidelines and best practices. The default settings are very relaxed, but you can turn on more rules through the new options dialog.

The error window updates as you type, so you don’t have to right-click the .js file to kick off JSHint. It happens as you write.
Each indiviual JavaScript file can override the global settings by using the official JSHint comment format descripted in the JSHint documentation.

