-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtreefmt.toml
75 lines (67 loc) · 1.27 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# SPDX-FileCopyrightText: 2024 Temple University <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
[global]
excludes = ["**/node_modules/**", "**/vendor/**", "**/*.min.*"]
[formatter.biome]
command = "biome"
options = [
"check",
"--write",
"--no-errors-on-unmatched",
"--files-ignore-unknown=true",
]
includes = [
"*.js",
"*.ts",
"*.mjs",
"*.mts",
"*.cjs",
"*.cts",
"*.jsx",
"*.tsx",
"*.d.ts",
"*.d.cts",
"*.d.mts",
"*.json",
"*.jsonc",
]
excludes = []
[formatter.dos2unix]
command = "dos2unix"
options = ["--keepdate"]
includes = ["*"]
excludes = []
[formatter.nixfmt]
command = "nixfmt"
options = []
includes = ["*.nix"]
excludes = []
[formatter.php-cs-fixer]
command = "composer"
options = [
"php-cs-fixer",
"fix",
# Required when passing multiple paths:
"--config=$PRJ_ROOT/.php-cs-fixer.dist.php",
"--",
]
priority = 0
includes = ["*.php"]
excludes = []
[formatter.phpcbf]
command = "composer"
options = ["phpcbf", "--"]
priority = 1
includes = ["*.php"]
excludes = []
[formatter.prettier]
command = "prettier"
options = ["--write"]
includes = ["*.css", "*.md", "*.mdx", "*.scss", "*.yaml", "*.yml"]
excludes = ["CHANGELOG.md"]
[formatter.taplo]
command = "taplo"
options = ["format"]
includes = ["*.toml"]
excludes = []