This repository has been archived by the owner on Apr 13, 2019. It is now read-only.
forked from Jasig/sass-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 18
/
pmd-ruleset.xml
41 lines (41 loc) · 1.61 KB
/
pmd-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
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Custom ruleset" 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 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>pmd ruleset</description>
<rule ref="rulesets/java/strings.xml" />
<rule ref="rulesets/java/braces.xml" />
<rule ref="rulesets/java/clone.xml" />
<rule ref="rulesets/java/codesize.xml" />
<rule ref="rulesets/java/controversial.xml">
<exclude name="AtLeastOneConstructor" />
</rule>
<!--
<rule ref="rulesets/java/coupling.xml">
<exclude name="LawOfDemeterRule"/>
</rule>
-->
<rule ref="rulesets/java/design.xml" />
<rule ref="rulesets/java/finalizers.xml" />
<rule ref="rulesets/java/j2ee.xml" />
<rule ref="rulesets/java/javabeans.xml" />
<rule ref="rulesets/java/junit.xml" />
<rule ref="rulesets/java/logging-jakarta-commons.xml" />
<rule ref="rulesets/java/logging-java.xml" />
<rule ref="rulesets/java/migrating.xml" />
<rule ref="rulesets/java/naming.xml">
<exclude name="LongVariable" />
<exclude name="ShortVariable" />
</rule>
<rule ref="rulesets/java/optimizations.xml" />
<rule ref="rulesets/java/strictexception.xml" />
<rule ref="rulesets/java/sunsecure.xml" />
<rule ref="rulesets/java/typeresolution.xml" />
<rule ref="rulesets/java/unnecessary.xml">
<!-- work around http://sourceforge.net/p/pmd/bugs/1012/ -->
<exclude name="UselessParentheses" />
</rule>
<rule ref="rulesets/java/basic.xml" />
<rule ref="rulesets/java/unusedcode.xml" />
<rule ref="rulesets/java/imports.xml" />
</ruleset>