Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ help:
ci:
nix-unit ./tests.nix

fmt:
nixfmt .
fmt *args:
treefmt {{args}}
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ pkgs.mkShell {
pkgs.just
pkgs.nix-unit
pkgs.treefmt
pkgs.nixfmt-tree
pkgs.nixfmt
];
}
3 changes: 3 additions & 0 deletions treefmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[formatter.nixfmt]
command = "nixfmt"
includes = [ "*.nix" ]
Loading