2013/12/4 Ruben Verborgh <ruben.verborgh@ugent.be>
>
> >> I'm pretty strict about that, even enforcing stylistic things such as
> proper indentation
> >> [2]. I have a pre-commit hook that a) runs JSHint and b) executes
> >> unit tests. I cannot commit if either fails.
> >
> > that's cool, do you share that somewhere?
>
> For safety reasons, git does not allow to directly commit the hooks as-is.
> However, for me it is simply an executable file .git/hooks/pre-commit with
> content
> #!/bin/sh
> exec make jshint test
> The details of both operations are in my Makefile [1].
>
You can use the http://npm.im/pre-commit package to automate that.
BTW, congrats for the release, I look forward to adding it into
levelgraph-N3!
Cheers,
Matteo