Check type ID#
kind: text_denylist
Purpose#
Forbid any of a list of literal substrings in the body text.
Configuration keys#
| Field | Required | Default | Meaning |
|---|---|---|---|
values | yes | - | Literal substrings to forbid; regex metacharacters are inert. |
target | no | body | Span selector: body, line, first-line, or matched-lines. |
select | no | - | Line-filter regex; required for and only valid with target matched-lines. |
Example#
collections:
notes:
path: notes
checks:
- kind: text_denylist
values: [TODO, FIXME, XXX]