-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtreefmt.toml
More file actions
43 lines (38 loc) · 754 Bytes
/
treefmt.toml
File metadata and controls
43 lines (38 loc) · 754 Bytes
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
[formatter.javascript]
command = "prettier"
options = ["--cache", "--write"]
includes = [
"*.html",
"*.js",
"*.json",
"*.jsx",
"*.md",
"*.ts",
"*.tsx",
"*.yaml",
"*.yml",
]
excludes = [
"node_modules/**",
"resources/public/*.js"
]
[formatter.clojure]
command = "cljfmt"
options = ["fix"]
includes = ["*.clj", "*.cljc", "*.cljs", "*.edn"]
excludes = [".clj-kondo/imports/**"]
[formatter.just]
command = "just"
options = ["--unstable", "--fmt", "--justfile"]
includes = ["justfile"]
[formatter.nix]
command = "alejandra"
includes = ["*.nix"]
[formatter.toml]
command = "taplo"
options = ["fmt", "-"]
includes = ["*.toml"]
[formatter.shell]
command = "shfmt"
options = ["-i", "2", "-ci", "-s", "-w"]
includes = ["*.sh", "*.bash"]