mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
docs: update formatting information
This commit is contained in:
parent
9ea3df74ea
commit
e49a2511fe
1 changed files with 4 additions and 4 deletions
|
|
@ -234,10 +234,10 @@ a long description if you wish.
|
||||||
|
|
||||||
## Code Style {#sec-code-style}
|
## Code Style {#sec-code-style}
|
||||||
|
|
||||||
The code in Home Manager is formatted by the
|
The code in Home Manager is formatted by the [treefmt](https://treefmt.com) tool
|
||||||
[nixfmt](https://github.com/serokell/nixfmt/) tool and the formatting is
|
and the formatting is checked in the pull request tests. Run `nix fmt` or
|
||||||
checked in the pull request tests. Run the `format` tool inside the
|
`treefmt` (with required formatters which can be found in `treefmt.toml` in your
|
||||||
project repository before submitting your pull request.
|
`$PATH`) inside the project repository before submitting your pull request.
|
||||||
|
|
||||||
Keep lines at a reasonable width, ideally 80 characters or less. This
|
Keep lines at a reasonable width, ideally 80 characters or less. This
|
||||||
also applies to string literals.
|
also applies to string literals.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue