GitHoox.Hooks.Format (GitHoox v0.4.2)

Copy Markdown View Source

Runs mix format against staged Elixir files.

Options

  • :check_only — use mix format --check-formatted. Fails instead of mutating.

Defaults

  • stage_fixed: true
  • files: ~w(**/*.ex **/*.exs **/*.heex) — matches root and nested paths.