john-slop/examples/config/config.toml

31 lines
847 B
TOML

# User-wide base layer. `schema_version` is optional in overlays, but spelling
# it out makes compatibility expectations explicit.
schema_version = 1
[input]
# Bound each decoded document to 4 MiB for this installation.
max_document_bytes = 4194304
[thresholds]
# Evidence bands affect labels and `--fail-level`; they are not probabilities.
low = 20
medium = 50
high = 75
# Arrays merge by stable ID. A known ID needs only the fields being changed.
[[replacements]]
id = "em-dash"
# Keep typographic em dashes instead of offering an ASCII replacement.
enabled = false
[[rules]]
id = "templated-conclusion"
# Disable a rule that is unsuitable for the user's normal documents.
enabled = false
[[rules]]
id = "source-placeholder-todo"
# Severity changes presentation; weight changes evidence-score contribution.
severity = "error"
weight = 15.0