mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-05 13:07:17 +03:00
Updated Home (markdown)
parent
5d3f137c68
commit
eaa16d2d3b
19
Home.md
19
Home.md
@ -19,6 +19,25 @@ command = "alejandra"
|
||||
includes = ["*.nix"]
|
||||
```
|
||||
|
||||
Other tool choices: Deadnix as a linter + nixpkgs-fmt.
|
||||
|
||||
```
|
||||
[formatter.nix]
|
||||
command = "sh"
|
||||
options = [
|
||||
"-eucx",
|
||||
"""
|
||||
# First deadnix
|
||||
deadnix --edit "$@"
|
||||
# Then nixpkgs-fmt
|
||||
nixpkgs-fmt "$@"
|
||||
""",
|
||||
"--",
|
||||
]
|
||||
includes = [ "*.nix" ]
|
||||
excludes = ["nix/sources.nix"]
|
||||
```
|
||||
|
||||
### haskell
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user