Skip to content

Commit 235fb92

Browse files
committed
Make checkstyle accept javadocs with long links
1 parent ea18b4e commit 235fb92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

checkstyle/checkstyle.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@
3939
<module name="Translation"/>
4040

4141
<!-- Checks for Size Violations. -->
42-
<!-- See https://checkstyle.org/config_sizes.html -->
42+
<!-- See https://checkstyle.sourceforge.io/checks/sizes/index.html -->
4343
<module name="FileLength"/>
4444
<module name="LineLength">
4545
<property name="max" value="100"/>
4646
<property name="fileExtensions" value="java"/>
47+
<!-- Also allow links in javadocs to be longer (the default would just cover imports) -->
48+
<property name="ignorePattern" value="^((package|import) .*)|( *\* &lt;a href ?\= ?&quot;.*&quot;&gt;)$"/>
4749
</module>
4850

4951
<!-- Checks for whitespace -->

0 commit comments

Comments
 (0)