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
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, languages, post_processing, provider, severity
The following places define options that affect this rule: CodeAnnotations, Analysis-GlobalOptions
This rule has no individual options.