Ah, I didn't know about `cfx test`, I will look into it.

As for only looking at new/changed lines, I guess it would be nice, but at the same time it won't be an issue once the repo is free of all jshint errors and warnings (which I intend to get to before adding the hook).