-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpanache.toml
More file actions
55 lines (47 loc) · 1.14 KB
/
Copy pathpanache.toml
File metadata and controls
55 lines (47 loc) · 1.14 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
# Disabled in-repo: the cache key's tool fingerprint is only `panache@<version>`,
# so it does not invalidate when behavior changes under a fixed in-development
# version, which serves stale results (e.g. the pre-commit `panache format` hook).
cache = false
extend-exclude = [
"assets/*",
"benches/**/*",
"docs/changelog.md",
"docs/reference/_formatter-presets-details.qmd",
"docs/reference/_linter-presets-details.qmd",
"docs/reference/cli.qmd",
"docs/changelog.d",
"tests/**/*",
"crates/panache-parser/tests/**/*",
"CHANGELOG.md",
".claude/**/*",
".agents/**/*",
]
[flavor-overrides]
"TODO.md" = "gfm"
"AGENTS.md" = "gfm"
"CONTRIBUTING.md" = "gfm"
[formatters]
r = "air"
toml = "taplo"
rust = "rustfmt"
bash = "shfmt"
sh = "shfmt"
python = "ruff"
lua = "stylua"
ojs = "biome"
[formatters.biome]
append-args = ["--html-formatter-enabled=true"]
[formatters.air]
stdin = true
args = ["format", "--stdin-file-path", "{}"]
[formatters.stylua]
cmd = "stylua"
args = ["--indent-type", "Spaces", "--indent-width", "2", "-"]
[linters]
r = "jarl"
python = "ruff"
sh = "shellcheck"
js = "eslint"
go = "staticcheck"
[experimental]
format-math = true