PreCommitHook provides hook in ".git/hooks/pre-commit" which helps you to build elixir project with these checks:
* code must compile * code must pass basic linting (.credo.exs will be copied if it doesn't exist) * code must pass test * code must pass docs generation * code must pass format check