-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtreefmt.toml
More file actions
82 lines (73 loc) · 1.45 KB
/
treefmt.toml
File metadata and controls
82 lines (73 loc) · 1.45 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[global]
excludes = [
"*.lock",
"package-lock.json",
".gitignore",
".gitmodules",
"npins/sources.json",
"*secrets.yaml",
"CLAUDE.md",
"src/users/cdom/config/claude/.claude/skills/terminal-title/*",
"src/users/cdom/config/niri/dot-config-niri/config.kdl",
]
on-unmatched = "warn"
[formatter.actionlint]
command = "actionlint"
excludes = []
includes = [".github/workflows/*.yml", ".github/workflows/*.yaml"]
options = []
[formatter.biome]
command = "biome"
excludes = []
includes = [
"*.js",
"*.ts",
"*.mjs",
"*.mts",
"*.cjs",
"*.cts",
"*.jsx",
"*.tsx",
"*.d.ts",
"*.d.cts",
"*.d.mts",
"*.json",
"*.jsonc",
"*.css",
]
options = ["check", "--write", "--no-errors-on-unmatched"]
[formatter.kdlfmt]
command = "kdlfmt"
excludes = []
includes = ["*.kdl"]
options = ["format"]
[formatter.keep-sorted]
command = "keep-sorted"
excludes = []
includes = ["*"]
options = []
[formatter.mdformat]
command = "mdformat"
excludes = []
includes = ["*.md"]
options = []
[formatter.nixfmt]
command = "nixfmt"
excludes = []
includes = ["*.nix"]
options = []
[formatter.shfmt]
command = "shfmt"
excludes = []
includes = ["*.sh", "*.bash", "*.envrc", "*.envrc.*"]
options = ["-s", "-w", "-i", "2"]
[formatter.taplo]
command = "taplo"
excludes = []
includes = ["*.toml"]
options = ["format"]
[formatter.yamlfmt]
command = "yamlfmt"
excludes = []
includes = ["*.yaml", "*.yml"]
# options = ["-conf=/nix/store/nv55sys1k1p6n9rzc9sr20nbsnq9mksz-yamlfmt.conf"]