ReportUnclosedRestOfFileCommentsΒΆ

Report Axivion Disable comments as style violations if they are not re-enabled at the end of the file

This rule will report a style violation for each code comment that suppresses issues for the rest of the file if there is no subsequent re-enabling comment in the same file.

This can be used to enforce a guideline where each Axivion Disable comment has to be matched by a subsequent Axivion Enable comment before the end of the file.

Possible Messages

Key

Text

Severity

Disabled

unclosed_rest_of_file_comment

This suppression comment is still active at the end of the file, did you forget a matching re-enabling comment?

None

False

Options