---
name: elm-format
description: "Use when adopting elm-format to assess this standard: Verify canonical Elm formatting"
---

# Apply elm-format

Verify the source tree with the formatter for the project's Elm version. Report files requiring formatting and keep the CI check read-only.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by elm-format.
2. Use elm-format in this repository to meet this standard: Verify canonical Elm formatting. Verify the source tree with the formatter for the project's Elm version. Report files requiring formatting and keep the CI check read-only. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/avh4/elm-format) for configuration and prerequisites.

## Tool invocation

```
elm-format --validate src
```
