Check type ID#

kind: text_denylist

Purpose#

Forbid any of a list of literal substrings in the body text.

Configuration keys#

FieldRequiredDefaultMeaning
valuesyes-Literal substrings to forbid; regex metacharacters are inert.
targetnobodySpan selector: body, line, first-line, or matched-lines.
selectno-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]