2024-12-18 09:40:11 +03:00
|
|
|
# SRC: https://github.com/numtide/treefmt
|
|
|
|
# REF: https://treefmt.com/latest/getting-started/configure/#config-file
|
|
|
|
|
|
|
|
walk = "git"
|
|
|
|
excludes = [
|
2024-12-18 13:58:30 +03:00
|
|
|
"*.conf",
|
2024-12-18 09:40:11 +03:00
|
|
|
"*.key",
|
|
|
|
"*.lock",
|
2024-12-18 13:58:30 +03:00
|
|
|
"*.ogg",
|
|
|
|
"*.patch",
|
2024-12-18 13:54:59 +03:00
|
|
|
"License",
|
2024-12-18 13:58:30 +03:00
|
|
|
"home/file/jetbrains/ideavimrc",
|
|
|
|
"home/file/ssh/config",
|
2024-12-18 09:40:11 +03:00
|
|
|
]
|
|
|
|
|
|
|
|
[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" ]
|