Mercurial extension for using JSLint
Get the code
Edit your ~/.hgrc file
[extensions] hgjslint = ~/Development/src/hgjslint/hgjslint.py
You'll need to point this to the location where you cloned this repository.
Now prepare for pain
JSLint warns you that this will be painful. Now you can get all that pain straight from Mercurial.
It attaches to the commit command
If it finds any *.js files, it will run those through JSLint.