Skip to content

Commit

Permalink
Make checkstyle accept javadocs with long links
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Mar 30, 2024
1 parent ea18b4e commit 235fb92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit 235fb92

Please sign in to comment.