Suppressions
When a rule does not fit your project, turn it off with a reason the report shows.
Copy examples/rechtzeitig.yml to .github/rechtzeitig.yml in the checked-out repository:
# yaml-language-server: $schema=https://rechtzeitig.dev/rechtzeitig.schema.json
suppress:
- rule: A11Y-ALT-001
category: not-applicable
reason: "Microenterprise, the BFSG does not apply (§ 3 Abs. 3 BFSG)"
- rule: SEC-HDR-001
category: accepted-risk
reason: "CSP ships with the frontend release in Q1"
expires: 2027-03-31
| Field | Meaning |
|---|---|
rule |
Required. The rule id from Checks. |
category |
Required. not-applicable: the duty does not apply. false-positive: the rule is wrong here. accepted-risk: the finding is real and you accept it for a time. |
reason |
Required, at least 15 characters. Placeholders such as n/a or todo do not count. |
expires |
Last day, YYYY-MM-DD, at most a year ahead. Required for accepted-risk. |
A turned-off rule still runs. The report shows it as suppressed with the reason and what it found; it does not count for fail-on. On a public repository the run page shows only the number of suppressed rules. An entry with a problem turns nothing off, and QUAL-SUPPRESS-001 names it. To turn off a whole group, use modules. Please report a false-positive; nothing is sent automatically.