Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.3
-
Component/s: Checkstyle
-
Labels:None
-
Number of attachments :
Description
We would like to customize Suppression Filter : here are 2 suppression filter we are using currently
<module name="SuppressionCommentFilter"> <property name="offCommentFormat" value="CSOFF\: ([\w\|]+) : (\w+)" /> <property name="onCommentFormat" value="CSON\: ([\w\|]+)" /> <property name="checkFormat" value="$1" /> </module> <module name="SuppressionCommentFilter"> <property name="offCommentFormat" value="CSOFF ALL\: (\w+)" /> <property name="onCommentFormat" value="CSON ALL\: " /> </module>
Could it be possible to integrate properties in checkstyle quality profile configuration ?
Attachments
Issue Links
| This issue relates to: | ||||
| SONAR-280 | Enable CheckStyle SuppressionCommentFilter module |
|
|
|
| This issue is related to: | ||||
| SONAR-1697 | XML default property values are not correctly displayed in the Settings pages |
|
|
|
| SONAR-738 | Honor Checkstyle Suppressions XML Document |
|
|
|
| SONAR-208 | Checkstyle suppressions to be managed by sonar |
|
|
|
Hi Bruno, configuring the behavior of the SuppressionCommentFilter with a property available in the Settings page should be possible. Feel free to provide a patch.