Skip to content

Z603: DEAD_SUPPRESSION

Severity: warning Penalty: 1.0 point Category: governance Auto-fixable: Yes

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)

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

Good (Resolves Z603)

<!-- 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.