Test Your JavaScript As You Code

If you are writing JavaScript, you should be testing and linting your code often to catch common mistakes. I enjoy using Sublime Text so I have installed Sublime-JSHint, a Submlime Text 2 plugin that checks my JavaScript code for nasty errors and other coding goodies.

Sublime JSHint in action

It’s super easy to setup so what are you waiting for?!

If you don’t use Sublime Text, find a jshint plugin for your editor over at http://www.jshint.com/install/