1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-23 03:22:37 +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"/> <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) .*)|( *\* &lt;a href ?\= ?&quot;.*&quot;&gt;)$"/>
</module> </module>
<!-- Checks for whitespace --> <!-- Checks for whitespace -->