Skip to content

Z603: DEAD_SUPPRESSION

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Rationale

This governance rule is emitted when an inline suppression comment (such as <!-- zenzic:ignore: ZXXX -->) is placed on a line where no violation of that code actually occurs.


How to Fix

Inspect the flagged location in the Markdown file and update the content or configuration:

Bad (Triggers Z603)

docs/example.md
<!-- BAD: Suppression directive on line with no Z511 violation -->
<!-- zenzic:ignore:Z511 -->
This is a short sentence.

Good (Resolves Z603)

docs/example.md
<!-- GOOD: Remove unneeded inline suppression comment -->
This is a short sentence.

Configuration

# Automatically remove dead inline suppressions
zenzic fix --only Z603

Reference

See the Finding Codes Index for finding code details.