Make checkstyle accept javadocs with long links

This commit is contained in:
Stypox 2023-12-31 18:11:35 +01:00
parent 0e2f590723
commit d83f1d2f1f

View file

@ -39,11 +39,13 @@
<module name="Translation"/>
<!-- Checks for Size Violations. -->
<!-- See https://checkstyle.org/config_sizes.html -->
<!-- See https://checkstyle.sourceforge.io/checks/sizes/index.html -->
<module name="FileLength"/>
<module name="LineLength">
<property name="max" value="100"/>
<property name="fileExtensions" value="java"/>
<!-- Also allow links in javadocs to be longer (the default would just cover imports) -->
<property name="ignorePattern" value="^((package|import) .*)|( *\* &lt;a href ?\= ?&quot;.*&quot;&gt;)$"/>
</module>
<!-- Checks for whitespace -->