Skip to content

Commit

Permalink
chore: update pmd rules
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <[email protected]>
  • Loading branch information
otaviojava committed Sep 22, 2024
1 parent 5ac9587 commit d360a99
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pmd/pmd-rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,19 @@ and then referenced by URL https://nexus.cicd.portit.io/repository/portit-webapp
<description>Remove rules</description>
<rule ref="category/java/bestpractices.xml">
<exclude name="GuardLogStatement" />
<exclude name="AbstractClassWithoutAbstractMethod" />
<exclude name="JUnitTestsShouldIncludeAssert" />
</rule>
<rule ref="category/java/codestyle.xml">
<exclude name="LongVariable" />
<exclude name="MethodArgumentCouldBeFinal" />
<exclude name="ShortMethodName" />
<exclude name="ShortVariable" />
<exclude name="AtLeastOneConstructor" />
<exclude name="LocalVariableCouldBeFinal" />
<exclude name="UseExplicitTypes" />
<exclude name="OnlyOneReturn" />
</rule>
<rule ref="category/java/codestyle.xml" />
<rule ref="category/java/security.xml" />
<rule ref="category/java/performance.xml" />

Expand Down

0 comments on commit d360a99

Please sign in to comment.