Skip to content

Commit

Permalink
chore: remove rules pmd
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed Sep 24, 2024
1 parent f16eb8d commit 365bb5e
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions pmd/pmd-rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,5 @@ and then referenced by URL https://nexus.cicd.portit.io/repository/portit-webapp
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
<description>Remove rules</description>
<rule ref="category/java/bestpractices.xml">
<exclude name="GuardLogStatement" />
<exclude name="AbstractClassWithoutAbstractMethod" />
<exclude name="JUnitTestsShouldIncludeAssert" />
<exclude name="UseVarargs" />
<exclude name="MethodReturnsInternalArray" />
</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" />
<exclude name="CommentDefaultAccessModifier" />
<exclude name="UnnecessaryBoxing" />
<exclude name="UnnecessaryCast" />
<exclude name="TooManyStaticImports" />
<exclude name="CallSuperInConstructor" />
<exclude name="LinguisticNaming" />
<exclude name="EmptyMethodInAbstractClassShouldBeAbstract" />
<exclude name="LambdaCanBeMethodReference" />
</rule>
<rule ref="category/java/security.xml" />
<rule ref="category/java/performance.xml" />

</ruleset>

0 comments on commit 365bb5e

Please sign in to comment.