This page describes the local development workflow for ExParamsSchema.
Toolchain
The project pins Erlang, Elixir, and prek in mise.toml. Install the toolchain after cloning:
mise install
Fetch the Mix dependencies separately:
mix deps.get
Keeping these steps separate makes it clear whether a failure is in the toolchain installation or dependency resolution.
Git hooks
prek runs the following checks before a commit containing Elixir files:
mix format --check-formattedmix credo --strictmix compile --warnings-as-errorsmix dialyzermix test --cover --warnings-as-errors
Enable the hook once for the local clone:
mise exec -- prek install
Run all configured hooks against every tracked file without creating a commit:
mise exec -- prek run --all-files
Full CI suite
Run the complete CI suite locally before opening a pull request:
mise run ci
In addition to the pre-commit checks, this generates the documentation with mix docs.