-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtreefmt.toml
56 lines (52 loc) · 889 Bytes
/
treefmt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# One CLI to format the code tree - https://github.com/numtide/treefmt
# Global options
fail-on-change = false
allow-missing-formatter = false
on-unmatched = "warn"
# Global excludes
excludes = [
"*.png",
"*.jpg",
"*.jpeg",
"*.gif",
"*.ico",
"*.icns",
"*.car",
"*.bundle/**",
"*.psd",
"*.xcf",
"*.kra",
"*.cape",
"*.DS_Store",
"*.tar.gz",
"*.sh",
"*.py",
"*.css",
"*.vim",
"*.plist",
"*.yaml",
"*.yml",
"*.json",
"*.md",
"*.lock",
"*.pub",
"*.conf",
"sway-config",
"*.loctable",
"*.mac13g",
"*.bk",
"*.txt",
"*.norg",
"*.kra~",
"*.png~",
"*.gitignore",
"*.xccolortheme"
]
# Nix formatter
[formatter.nixfmt-rfc-style]
command = "nixfmt"
includes = ["*.nix"]
# Lua formatter
[formatter.lua-format]
command = "lua-format"
includes = ["*.lua"]