treefmt part 2

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-04-13 22:42:03 -04:00 committed by Alice Huston
parent 6ced5fe4d3
commit a8006436af

22
treefmt.toml Normal file
View File

@ -0,0 +1,22 @@
# One CLI to format the code tree - https://github.com/numtide/treefmt
[global]
# Glob patterns of files to exclude
excludes = [ ".git/" ]
[formatter.nixfmt]
# Formatter to run
command = "nixfmt"
# Command-line arguments for the command
#options = []
# Glob pattern of files to include
includes = [ "*.nix" ]
[formatter.deadnix]
# Formatter to run
command = "deadnix"
# Command-line arguments for the command
#options = []
# Glob pattern of files to include
includes = [ "*.nix" ]