Skip to content

Commit 9c4196f

Browse files
chore: update treefmt lint configuration
1 parent 81ca31e commit 9c4196f

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

treefmt.lint.toml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ excludes = []
44
includes = [".github/workflows/*.yml", ".github/workflows/*.yaml"]
55
options = []
66

7+
[formatter.beautysh]
8+
command = "beautysh"
9+
excludes = []
10+
includes = ["*.sh"]
11+
options = ["-c", "-i", "2"]
12+
713
[formatter.clang-format]
814
command = "clang-format"
915
excludes = []
@@ -24,6 +30,35 @@ includes = [
2430
]
2531
options = ["--dry-run", "--Werror", "-i"]
2632

33+
[formatter.nixfmt-rfc-style]
34+
command = "nixfmt"
35+
excludes = []
36+
includes = ["*.nix"]
37+
options = ["--check"]
38+
39+
[formatter.prettier]
40+
command = "prettier"
41+
excludes = []
42+
includes = [
43+
"*.cjs",
44+
"*.css",
45+
"*.html",
46+
"*.js",
47+
"*.json",
48+
"*.json5",
49+
"*.jsx",
50+
"*.md",
51+
"*.mdx",
52+
"*.mjs",
53+
"*.scss",
54+
"*.ts",
55+
"*.tsx",
56+
"*.vue",
57+
"*.yaml",
58+
"*.yml",
59+
]
60+
options = ["-c"]
61+
2762
[formatter.shellcheck]
2863
command = "shellcheck"
2964
excludes = []
@@ -36,6 +71,12 @@ excludes = []
3671
includes = ["*.nix"]
3772
options = ["check"]
3873

74+
[formatter.taplo]
75+
command = "taplo"
76+
excludes = []
77+
includes = ["*.toml"]
78+
options = ["lint"]
79+
3980
[formatter.zig]
4081
command = "zig"
4182
excludes = []

0 commit comments

Comments
 (0)