a syntax valadation pre-commit hook
npm install esprima.hksValidate your javascript with each commit
Esprima.hks is a node-hooks implementation of the Esprima Validator. It is simple to use and easy to add to your git projects.
If you don't have hooks installed
1. npm install node-hooks -g
2. hooks install
3. hooks add esprima.hks
If hooks is installed, but not managing you're git-hooks yet
1. hooks install
2. hooks add esprima.hks
Else
hooks add esprima.hks