CONTRIBUTING: list nix fmt first among formatter commands

Put the simplest command first so new contributors are less
likely to reach for nix-shell or nix develop by default.

Assisted-by: Grok Build (xAI Grok 4.6)
This commit is contained in:
lucasew
2026-08-25 11:30:03 -03:00
parent 6a94122f53
commit a4ee65cba1

View File

@@ -587,9 +587,9 @@ CI [enforces](./.github/workflows/lint.yml) all Nix files to be formatted using
You can ensure this locally using either of these commands:
```
nix-shell --run treefmt
nix develop --command treefmt
nix fmt
nix develop --command treefmt
nix-shell --run treefmt
```
If you're starting your editor in `nix-shell` or `nix develop`, you can also set it up to automatically run `treefmt` on save.