1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-21 10:32:33 +01:00

Make checkstyle accept javadocs with long links

This commit is contained in:
Stypox 2023-12-31 18:11:35 +01:00
parent ea18b4ea1f
commit 235fb92638
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

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 -->