Example for how to use git pre-commit hooks to lint your code before committing.