Skip to content

Commit

Permalink
Added rule to check that line length in Java files not exceeds 120 ch…
Browse files Browse the repository at this point in the history
…ars. (#691)

Co-authored-by: Oliver-Loeffler <[email protected]>
  • Loading branch information
Oliver-Loeffler and Oliver-Loeffler authored Aug 27, 2024
1 parent d36d9f6 commit 6f6ffd6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
<property name="severity" value="warning" />
<property name="fileExtensions" value="java, properties, xml, fxml" />

<module name="LineLength">
<property name="fileExtensions" value="java" />
<property name="max" value="120"/>
</module>

<!-- BeforeExecutionFileFilters is required for sources that are based on java9 -->
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern"
Expand Down

0 comments on commit 6f6ffd6

Please sign in to comment.