Skip to content

Commit 52d7ca8

Browse files
committed
1 parent 83cf6d2 commit 52d7ca8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.config/pmd/java/ruleset.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<!-- About: Formatting -->
1414
<!-- Some lines (e.g. description, examples and CDATA) have to start without any indents or this will result in incorrect formatting -->
1515

16+
<rule ref="category/java/bestpractices.xml/AssertStatementInTest"/>
1617
<rule ref="category/java/bestpractices.xml/AvoidPrintStackTrace"/>
1718
<rule ref="category/java/bestpractices.xml/AvoidUsingHardCodedIP"/>
1819
<rule ref="category/java/bestpractices.xml/ConstantsInInterface"/>
@@ -45,8 +46,10 @@
4546
<rule ref="category/java/codestyle.xml/LambdaCanBeMethodReference"/>
4647
<rule ref="category/java/codestyle.xml/NoPackage"/>
4748
<rule ref="category/java/codestyle.xml/PrematureDeclaration"/>
49+
<rule ref="category/java/codestyle.xml/UnnecessaryBlock"/>
4850
<rule ref="category/java/codestyle.xml/UnnecessarySemicolon"/>
4951
<rule ref="category/java/codestyle.xml/VariableCanBeInlined"/>
52+
<rule ref="category/java/codestyle.xml/VariableDeclarationUsageDistance"/>
5053

5154
<rule ref="category/java/design.xml">
5255
<!-- Sometimes abstract classes have just fields -->
@@ -154,6 +157,7 @@
154157
<rule ref="category/java/errorprone.xml/InstantiationToGetClass"/>
155158
<rule ref="category/java/errorprone.xml/InvalidLogMessageFormat"/>
156159
<rule ref="category/java/errorprone.xml/JumbledIncrementer"/>
160+
<rule ref="category/java/errorprone.xml/JUnitJupiterTestNoPrivateModifier"/>
157161
<rule ref="category/java/errorprone.xml/MisplacedNullCheck"/>
158162
<rule ref="category/java/errorprone.xml/MoreThanOneLogger"/>
159163
<rule ref="category/java/errorprone.xml/NonStaticInitializer"/>

0 commit comments

Comments
 (0)