-
-
Notifications
You must be signed in to change notification settings - Fork 767
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ForbiddenComment rule not checking for KDoc (#3275)
* Fix ForbiddenComment rule not checking for KDoc ForbiddenComment now analyzes KDoc elements for forbidden comments. KDoc sections don't inherit from the PsiComment type. Hence, this rule needs to also gather and analyze KDocSection types. Fixes #3273 * Remove wildcard import * Add ForbiddenComment suppression to rule itself This allows to document rule violations in the noncompliant section. * Format report statement accordingly revert back to old style * Update report message to include the violated value
- Loading branch information
Showing
3 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters