all repos

clerk @ 3143815

missing tooling for ledger/hledger

clerk/internal/settings/testdata/invalid-values.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
feat: config (#6), 1 month ago
1
-- config.toml --
2
[format]
3
indent-width = 17
4
align-column = 0
5
align-style = "none"
6
commodity-pos = "left"
7
8
[lint]
9
unbalanced-transaction = true
10
account-depth = { severity = "critical" }
11
12
-- expect --
13
error: format: align-column: 0 out of range (want 1..240)
14
error: format: align-style: invalid value "none" (want "two-spaces", "right", or "tab")
15
error: format: commodity-pos: invalid value "left" (want "after" or "before")
16
error: lint: account-depth: invalid severity "critical" (want "off", "error", "warn", "info", or "hint")
17
error: lint: unbalanced-transaction: true is not supported (want false, "off", a severity, or an options table)