CONTRIBUTING: list nix fmt first among formatter commands (#556421)

This commit is contained in:
Silvan Mosberger
2026-08-31 17:31:35 +00:00
committed by GitHub

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.