25 lines
608 B
TOML
25 lines
608 B
TOML
# Runtime diagnostic catalog. Add data-driven rules here without rebuilding
|
|
# John Slop, then pass this file with `--diagnostics`.
|
|
schema_version = 1
|
|
|
|
[[rules]]
|
|
id = "custom-review-marker"
|
|
category = "style"
|
|
severity = "warning"
|
|
matcher = "exact-phrase"
|
|
pattern = "REVIEW BEFORE PUBLISHING"
|
|
weight = 8.0
|
|
message = "a project review marker remains in the source"
|
|
help = "Resolve or remove the marker before publishing."
|
|
occurrence_cap = 1
|
|
enabled = false
|
|
|
|
[rules.scope]
|
|
content = ["prose", "source-code"]
|
|
extensions = []
|
|
include = []
|
|
exclude = []
|
|
skip_generated = true
|
|
skip_vendor = true
|
|
skip_minified = true
|