diff options
author | ByteHamster <info@bytehamster.com> | 2019-10-22 16:50:04 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-10-22 16:50:04 +0200 |
commit | 6a4754922a444f2dd8aa348dc374e1ee0c2d3d5b (patch) | |
tree | 504305dd7eb4d930b7fa8cc8be0cc10a8f630a51 /config | |
parent | 1b61057dffd4ebe15eaf0cc724ea94d4b96ddfbd (diff) | |
download | AntennaPod-6a4754922a444f2dd8aa348dc374e1ee0c2d3d5b.zip |
Added more rules that we already fulfill
Diffstat (limited to 'config')
-rw-r--r-- | config/checkstyle/checkstyle.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 0a5b47eb8..bcddda794 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -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"/> |