hgjslint /

Filename Size Date modified Message
19 B
865 B
0 B
2.3 KB
1.9 KB

Mercurial extension for using JSLint


Edit your ~/.hgrc file

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

hg commit

If it finds any *.js files, it will run those through JSLint.