Added more rules that we already fulfill
This commit is contained in:
parent
1b61057dff
commit
6a4754922a
|
@ -91,4 +91,5 @@ task checkstyle(type: Checkstyle) {
|
|||
classpath = files()
|
||||
source "${project.rootDir}"
|
||||
exclude("**/gen/**")
|
||||
exclude("**/generated/**")
|
||||
}
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue