diff options
Diffstat (limited to 'config/checkstyle_checks.xml')
-rw-r--r-- | config/checkstyle_checks.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/config/checkstyle_checks.xml b/config/checkstyle_checks.xml index 2d4e38e50..f58dd9c4e 100644 --- a/config/checkstyle_checks.xml +++ b/config/checkstyle_checks.xml @@ -380,4 +380,31 @@ <module name="Translation"> <property name="requiredTranslations" value="de, fr, fi, es, pt, ja, tr"/> </module> + <module name="SuppressWarningsFilter"/> + <module name="SeverityMatchFilter"> + <!-- + report all violations except ignore + --> + <property name="severity" value="ignore"/> + <property name="acceptOnMatch" value="false"/> + </module> + <module name="SuppressWithNearbyCommentFilter"> + <!-- + Use suppressions.xml for suppressions, this is only example. + checkFormat will prevent suppression comments from being valid. + --> + <property name="checkFormat" value="IGNORETHIS"/> + <property name="commentFormat" value="SUPPRESS CHECKSTYLE, (\w+)"/> + <property name="messageFormat" value="$1"/> + <property name="influenceFormat" value="-1"/> + </module> + <module name="SuppressionCommentFilter"> + <!-- + Use suppressions.xml for suppressions, this is only example. + checkFormat will prevent suppression comments from being valid. + --> + <property name="checkFormat" value="IGNORETHIS"/> + <property name="offCommentFormat" value="CSOFF\: .*"/> + <property name="onCommentFormat" value="CSON\: .*"/> + </module> </module> |