TSK-1009: Enable SupressWarnings for checkstyle

This commit is contained in:
Benjamin Eckstein 2020-01-07 10:55:44 +01:00 committed by Mustapha Zorgati
parent 53ffac7fd9
commit 0c6adf9872
1 changed files with 5 additions and 0 deletions

View File

@ -39,9 +39,11 @@
value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="NewlineAtEndOfFile"/>
<module name="SuppressWarningsFilter"/>
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="SuppressWarningsHolder"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format"
@ -49,6 +51,9 @@
<property name="message"
value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
</module>
<module name="SuppressWarnings">
<property name="id" value="checkstyle:suppresswarnings"/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>