ReportUnusedCommentsΒΆ

Report superfluous control comments as style violations

Required inputs: IR

This rule will report a style violation for each code comment that attempts to suppress/justify issues, but does not match any issues.

Such comments are redundant and can be removed.

Note: The style violations produced by this rule cannot be suppressed/justified with control comments. Post-processing filters can only be applied to "unused control comment" style violations if using a global filter with Position.after_issue_aggregation.

Possible Messages

Key

Text

Severity

Disabled

unused_comment

Unused control comment

warning

False

Options