Added more rules that we already fulfill

This commit is contained in:
ByteHamster 2019-10-22 16:50:04 +02:00
parent 1b61057dff
commit 6a4754922a
2 changed files with 8 additions and 0 deletions

View File

@ -91,4 +91,5 @@ task checkstyle(type: Checkstyle) {
classpath = files()
source "${project.rootDir}"
exclude("**/gen/**")
exclude("**/generated/**")
}

View File

@ -11,6 +11,13 @@
<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format"
value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
<property name="message"
value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>