Git pre-commit hook to run JavaScript files through JSHint