nix/.treefmt.toml

32 lines
538 B
TOML
Raw Normal View History

# SRC: https://github.com/numtide/treefmt
# REF: https://treefmt.com/latest/getting-started/configure/#config-file
walk = "git"
excludes = [
"*.key",
"*.patch",
"*.ogg",
"*.lock",
2024-12-18 12:08:17 +03:00
"*.conf",
"License"
]
[formatter.nixfmt-rfc-style]
command = "nixfmt"
options = [ "-s" ]
includes = [ "*.nix" ]
2024-12-18 09:46:54 +03:00
[formatter.shfmt]
command = "shfmt"
options = [ "-s", "-w" ]
includes = [ "*.sh" ]
2024-12-18 11:44:18 +03:00
[formatter.prettier]
command = "prettier"
options = [ "-w" ]
includes = [ "*.css" ]
2024-12-18 13:45:27 +03:00
[formatter.stylua]
command = "stylua"
includes = [ "*.lua" ]