Skip to content

Commit

Permalink
More JUnit ignores
Browse files Browse the repository at this point in the history
Design.SignatureDeclareThrowsException and Design.AvoidCatchingGenericException
  • Loading branch information
stoyicker committed Nov 9, 2018
1 parent 6104ac3 commit c81f164
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugin/src/main/resources/pmd/conf-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<rule name="SignatureDeclareThrowsException">
<properties>
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<rule name="AvoidCatchingGenericException">
<properties>
<property name="IgnoreJUnitCompletely" value="true" />
</properties>
</rule>
<exclude name="LawOfDemeter" />
<exclude name="LoosePackageCoupling" />
<exclude name="ImmutableField" />
Expand Down

0 comments on commit c81f164

Please sign in to comment.