Make checkstyle accept javadocs with long links
This commit is contained in:
parent
ea18b4ea1f
commit
235fb92638
|
@ -39,11 +39,13 @@
|
||||||
<module name="Translation"/>
|
<module name="Translation"/>
|
||||||
|
|
||||||
<!-- Checks for Size Violations. -->
|
<!-- 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="FileLength"/>
|
||||||
<module name="LineLength">
|
<module name="LineLength">
|
||||||
<property name="max" value="100"/>
|
<property name="max" value="100"/>
|
||||||
<property name="fileExtensions" value="java"/>
|
<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) .*)|( *\* <a href ?\= ?".*">)$"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
<!-- Checks for whitespace -->
|
<!-- Checks for whitespace -->
|
||||||
|
|
Loading…
Reference in New Issue