AshScenario.PreCommit.Formatter (ash_scenario v0.6.0)

View Source

Pre-commit hook module that formats only staged Elixir files.

Summary

Functions

Formats only the staged Elixir files and re-adds them to staging.

Functions

run(args \\ [])

Formats only the staged Elixir files and re-adds them to staging.

Returns :ok if all files are formatted successfully, or {:error, reason} if any step fails.