A couple of notes about the pre-commit hook:
- Shell scripting pedants may find that JSC could actually spit out exit status codes outside the acceptable range.
May this pre-commit hook save your butt as often as it has saved mine.
- Well… “optional braces in some places”. [↩]
- If you haven’t heard of it, jshint is a fork of Crockford’s jslint, and it has been described by some as “the kinder, gentler jslint”. [↩]