forked from SafeExamBrowser/seb-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpmd-rulesets.xml
25 lines (20 loc) · 938 Bytes
/
pmd-rulesets.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
<?xml version="1.0"?>
<ruleset name="SEB Server 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>
SEB Server custom rules
</description>
<exclude-pattern>.*/batis/mapper/*.java</exclude-pattern>
<exclude-pattern>.*/batis/model/*.java</exclude-pattern>
<rule ref="category/java/errorprone.xml" >
<exclude name="AvoidDuplicateLiterals"/>
<exclude name="BeanMembersShouldSerialize"/>
<exclude name="AvoidFieldNameMatchingMethodName"/>
<exclude name="NullAssignment"/>
<exclude name="AvoidLiteralsInIfCondition"/>
<exclude name="InvalidSlf4jMessageFormat"/>
<exclude name="DataflowAnomalyAnalysis"/>
</rule>
</ruleset>