Read a great primer by Amaxus on Using JSlint with Subversion hooks. There were a few bugs, largely created by missing \ characters in the published source. My working version is published zipped up below.

AttachmentSize
hooks-example.tar_.gz1.6 KB