a syntax valadation pre-commit hook