-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathruleSet.xml
35 lines (30 loc) · 1.27 KB
/
ruleSet.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<ruleset name="Custom Rules"
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>
Custom rules
</description>
<rule ref="category/java/bestpractices.xml">
<exclude name="GuardLogStatement"/>
</rule>
<rule ref="category/java/design.xml">
<exclude name="LawOfDemeter"/>
</rule>
<rule ref="category/java/design.xml/UseUtilityClass">
<properties>
<property name="ignoredAnnotations" value="org.springframework.boot.autoconfigure.SpringBootApplication"/>
</properties>
</rule>
<rule ref="category/java/errorprone.xml">
<exclude name="BeanMembersShouldSerialize"/>
<exclude name="MissingSerialVersionUID"/>
<exclude name="SimpleDateFormatNeedsLocale"/>
<exclude name="UseLocaleWithCaseConversions"/>
</rule>
<!-- <rule ref="category/java/quickstart.xml"/>-->
<rule ref="category/java/performance.xml"/>
<rule ref="category/java/security.xml"/>
<exclude-pattern>.*com/talonoutdoor/campaign/migrations/changelog/.*</exclude-pattern>
</ruleset>