Skip to content

DECLARATIVE-YAML-19: Annotate and downgrade: note + level

Each entry can carry an author note (appended to the message) and a level to warn instead of error.

Builds on: DECLARATIVE-YAML-15: Forbid a phrase document-wide

The declarative YAML artifact, verbatim — no code required.

body:
forbids:
- pattern: "TODO"
level: warn # downgrade from the default error
note: "ship without TODOs (warning only)"
  • per-entry level (error|warn) and note appended to the finding message