treefmt part 2
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
6ced5fe4d3
commit
a8006436af
22
treefmt.toml
Normal file
22
treefmt.toml
Normal 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" ]
|
Loading…
x
Reference in New Issue
Block a user