Skip to content

Commit

Permalink
Clean up PMD configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Oct 20, 2024
1 parent e373bac commit c398de0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .pmd.config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
<exclude name="AtLeastOneConstructor" />
<!-- This complains about variable names like 'id' -->
<exclude name="ShortVariable" />
<!-- This rule makes no sense -->
<exclude name="AvoidFinalLocalVariable" />
</rule>
<rule ref="category/java/design.xml">
<exclude name="CognitiveComplexity" />
Expand All @@ -37,11 +35,7 @@
<exclude name="LawOfDemeter" />
<exclude name="LoosePackageCoupling" />
</rule>
<rule ref="category/java/errorprone.xml">
<!-- Produces lots of false positives and the Java
compiler catches most of these anyway -->
<exclude name="DataflowAnomalyAnalysis"/>
</rule>
<rule ref="category/java/errorprone.xml"/>
<rule ref="category/java/multithreading.xml"/>
<rule ref="category/java/performance.xml">
<exclude name="AvoidCalendarDateCreation" />
Expand Down

0 comments on commit c398de0

Please sign in to comment.