Skip to content

Commit 60a6d03

Browse files
committed
Issue #129: upgrade to checkstyle 8.4
1 parent 95d8f5e commit 60a6d03

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This plugin provides coding rules from [Checkstyle](http://checkstyle.sourceforg
1414

1515
Checkstyle Plugin|Sonar|Checkstyle|Jdk
1616
-----------------|-----|----------|---
17+
4.4|5.6.6|8.4|1.8
1718
4.3|5.6.6|8.3|1.8
1819
4.2|5.6.6|8.2|1.8
1920
4.1|5.6.6|8.1|1.8

checkstyle-sonar-plugin/config/sevntu_suppressions.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<suppress checks="ForbidAnnotation" files=".*[\\/]src[\\/]main[\\/]"/>
1111

1212
<suppress checks="ForbidAnnotation" files=".*[\\/]src[\\/]test[\\/]"/>
13+
<suppress checks="AvoidModifiersForTypes" files=".*[\\/]src[\\/]main[\\/]"/>
1314
<!-- END of legacy code -->
1415

1516

@@ -18,6 +19,7 @@
1819
<!-- till https://github.com/checkstyle/sonar-checkstyle/issues/135 -->
1920
<suppress checks="MultipleStringLiteralsExtended" files="CheckstylePlugin\.java"/>
2021

22+
2123
<!-- Tone down the checking for test code -->
2224
<suppress checks="MultipleStringLiteralsExtended" files=".*[\\/]src[\\/]test[\\/]"/>
2325
<suppress checks="ForbidCCommentsInMethods" files=".*[\\/]src[\\/]test[\\/]"/>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</ciManagement>
8686

8787
<properties>
88-
<checkstyle.version>8.3</checkstyle.version>
88+
<checkstyle.version>8.4</checkstyle.version>
8989
<sonar.version>5.6.6</sonar.version>
9090
<sonar-java.version>3.7</sonar-java.version>
9191
<java.version>1.8</java.version>

0 commit comments

Comments
 (0)