Skip to content

Commit

Permalink
increasing the max line length to 120
Browse files Browse the repository at this point in the history
  • Loading branch information
chenejac committed Jun 28, 2023
1 parent be62862 commit 7fc97db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Vitro CodeStyle Requirements
1. 4-space indents for Java. NO TABS ALLOWED.
2. One true brace style. Braces required on all blocks.
3. Do not use wildcard imports (e.g. import java.util.*). Duplicated or unused imports also not allowed.
4. Maximum line length is 100 characters (except for long URLs, packages or imports)
4. Maximum line length is 120 characters (except for long URLs, packages or imports)
5. No trailing spaces allowed (except in comments)
6. Tokens should be surrounded by whitespace (see http://checkstyle.sourceforge.net/config_whitespace.html#WhitespaceAround)
7. Each line of code can only include one statement. This also means each variable declaration must be on its own line
Expand Down Expand Up @@ -44,10 +44,10 @@ For more information on CheckStyle configurations below, see: http://checkstyle.
with @SuppressWarnings. See also SuppressWarningsHolder below -->
<module name="SuppressWarningsFilter" />

<!-- Maximum line length is 100 characters -->
<!-- Maximum line length is 120 characters -->
<module name="LineLength">
<property name="fileExtensions" value="java"/>
<property name="max" value="100"/>
<property name="max" value="120"/>
<!-- Only exceptions for packages, imports, URLs, and JavaDoc {@link} tags -->
<property name="ignorePattern" value="^package.*|^import.*|http://|https://|@link"/>
</module>
Expand Down

0 comments on commit 7fc97db

Please sign in to comment.