Skip to content

Commit 7366a4f

Browse files
committed
Update checkstyle config
1 parent 8498a0b commit 7366a4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@
5858
<property name="ignorePattern"
5959
value="^package.*|^import.*|href\s*=\s*&quot;[^&quot;]*&quot;|http://|https://|ftp://"/>
6060
</module>
61-
61+
<!-- Suppression to prevent LineLength Check from flagging lines in Text-blocks -->
62+
<module name="SuppressWithPlainTextCommentFilter">
63+
<property name="checkFormat" value="LineLength"/>
64+
<property name="offCommentFormat" value='^.*"""\s*$'/>
65+
<property name="onCommentFormat" value='^\s*"""\s*(?:[,;]|.+)$'/>
66+
</module>
6267
<module name="TreeWalker">
6368
<module name="OuterTypeFilename"/>
6469
<module name="MatchXpath">

0 commit comments

Comments
 (0)