Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Commit

Permalink
update checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mprins committed Mar 20, 2019
1 parent 6366b19 commit 9d8b74d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion checkstyle-ruleset.xml
Expand Up @@ -3,7 +3,7 @@
<module name="Checker">
<property name="severity" value="warning" />
<module name="TreeWalker">
<module name="FileContentsHolder" />
<!-- <module name="FileContentsHolder" /> -->
<module name="JavadocType">
<property name="allowUnknownTags" value="true" />
</module>
Expand Down Expand Up @@ -139,11 +139,13 @@
<module name="FileLength">
<property name="max" value="500" />
</module>
<!--
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE.OFF\: ([\w\|]+)" />
<property name="onCommentFormat" value="CHECKSTYLE.ON\: ([\w\|]+)" />
<property name="checkFormat" value="$1" />
</module>
-->
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf" />
</module>
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Expand Up @@ -212,6 +212,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.18</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -499,7 +506,6 @@
<detectLinks>true</detectLinks>
<fixClassComment>true</fixClassComment>
<fixTags>all</fixTags>
<javadocVersion>${project.build.sourceVersion}</javadocVersion>
<packagesheader>${project.artifactId}</packagesheader>
<tags>
<tag>
Expand Down

0 comments on commit 9d8b74d

Please sign in to comment.