27 lines
464 B
TOML
27 lines
464 B
TOML
# SRC: https://github.com/numtide/treefmt
|
|
# REF: https://treefmt.com/latest/getting-started/configure/#config-file
|
|
|
|
walk = "git"
|
|
excludes = [
|
|
"*.key",
|
|
"*.patch",
|
|
"*.ogg",
|
|
"*.lock",
|
|
"License"
|
|
]
|
|
|
|
[formatter.nixfmt-rfc-style]
|
|
command = "nixfmt"
|
|
options = [ "-s" ]
|
|
includes = [ "*.nix" ]
|
|
|
|
[formatter.shfmt]
|
|
command = "shfmt"
|
|
options = [ "-s", "-w" ]
|
|
includes = [ "*.sh" ]
|
|
|
|
[formatter.prettier]
|
|
command = "prettier"
|
|
options = [ "-w" ]
|
|
includes = [ "*.css" ]
|