-
Notifications
You must be signed in to change notification settings - Fork 0
/
pmd-non-naming-rules.xml
47 lines (44 loc) · 2.2 KB
/
pmd-non-naming-rules.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
36
37
38
39
40
41
42
43
44
45
46
47
<?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>
All PMD rules except Java naming rules
</description>
<rule ref="category/java/bestpractices.xml"></rule>
<rule ref="category/java/codestyle.xml">
<exclude name="AbstractNaming"></exclude>
<exclude name="BooleanGetMethodName"></exclude>
<exclude name="ClassNamingConventions"></exclude>
<exclude name="FieldNamingConventions"></exclude>
<exclude name="FormalParameterNamingConventions"></exclude>
<exclude name="GenericsNaming"></exclude>
<exclude name="LinguisticNaming"></exclude>
<exclude name="LocalHomeNamingConvention"></exclude>
<exclude name="LocalInterfaceSessionNamingConvention"></exclude>
<exclude name="LocalVariableNamingConventions"></exclude>
<exclude name="LongVariable"></exclude>
<exclude name="MDBAndSessionBeanNamingConvention"></exclude>
<exclude name="MethodNamingConventions"></exclude>
<exclude name="MIsLeadingVariableName"></exclude>
<exclude name="RemoteInterfaceNamingConvention"></exclude>
<exclude name="RemoteSessionInterfaceNamingConvention"></exclude>
<exclude name="ShortClassName"></exclude>
<exclude name="ShortMethodName"></exclude>
<exclude name="ShortVariable"></exclude>
<exclude name="SuspiciousConstantFieldName"></exclude>
<exclude name="UnnecessaryFullyQualifiedName"></exclude>
<exclude name="VariableNamingConventions"></exclude>
</rule>
<rule ref="category/java/design.xml">
<exclude name="LoosePackageCoupling"></exclude>
</rule>
<rule ref="category/java/documentation.xml"></rule>
<rule ref="category/java/errorprone.xml">
<exclude name="DataflowAnomalyAnalysis"></exclude>
</rule>
<rule ref="category/java/multithreading.xml"></rule>
<rule ref="category/java/performance.xml"></rule>
<rule ref="category/java/security.xml"></rule>
</ruleset>