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.
  • Loading branch information
Oliver-Loeffler committed Mar 28, 2024
1 parent 582a5a6 commit dbdd705
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 dbdd705

Please sign in to comment.