-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pmd
86 lines (86 loc) · 2.61 KB
/
.pmd
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="UTF-8"?>
<pmd>
<useProjectRuleSet>false</useProjectRuleSet>
<ruleSetFile>.ruleset</ruleSetFile>
<rules>
<rule>
<name>ConstructorCallsOverridableMethod</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>EqualsNull</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>ClassWithOnlyPrivateConstructorsShouldBeFinal</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>EmptyMethodInAbstractClassShouldBeAbstract</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>ReturnEmptyArrayRatherThanNull</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>AbstractClassWithoutAnyMethod</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>TooFewBranchesForASwitchStatement</name>
<ruleset>Design</ruleset>
</rule>
<rule>
<name>AvoidUsingShortType</name>
<ruleset>Controversial</ruleset>
</rule>
<rule>
<name>UnreachableCode</name>
<ruleset>Basic Ecmascript</ruleset>
</rule>
<rule>
<name>ScopeForInVariable</name>
<ruleset>Basic Ecmascript</ruleset>
</rule>
<rule>
<name>GlobalVariable</name>
<ruleset>Basic Ecmascript</ruleset>
</rule>
<rule>
<name>AvoidTrailingComma</name>
<ruleset>Basic Ecmascript</ruleset>
</rule>
<rule>
<name>UseBaseWithParseInt</name>
<ruleset>Basic Ecmascript</ruleset>
</rule>
<rule>
<name>AvoidThrowingRawExceptionTypes</name>
<ruleset>Strict Exceptions</ruleset>
</rule>
<rule>
<name>AvoidThrowingNullPointerException</name>
<ruleset>Strict Exceptions</ruleset>
</rule>
<rule>
<name>VariableNamingConventions</name>
<ruleset>Naming</ruleset>
</rule>
<rule>
<name>MethodNamingConventions</name>
<ruleset>Naming</ruleset>
</rule>
<rule>
<name>ClassNamingConventions</name>
<ruleset>Naming</ruleset>
</rule>
<rule>
<name>DoubleCheckedLocking</name>
<ruleset>Basic</ruleset>
</rule>
</rules>
<includeDerivedFiles>false</includeDerivedFiles>
<violationsAsErrors>true</violationsAsErrors>
<fullBuildEnabled>true</fullBuildEnabled>
</pmd>