aboutsummaryrefslogtreecommitdiffstats
path: root/src/site/pmd/custom-ruleset.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/site/pmd/custom-ruleset.xml')
-rw-r--r--src/site/pmd/custom-ruleset.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/site/pmd/custom-ruleset.xml b/src/site/pmd/custom-ruleset.xml
new file mode 100644
index 0000000..14cfd4f
--- /dev/null
+++ b/src/site/pmd/custom-ruleset.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+
+<ruleset name="Custom"
+ 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>
+Custom ruleset.
+ </description>
+
+ <rule ref="rulesets/java/basic.xml">
+ <exclude name="UselessParentheses"/>
+ <exclude name="CollapsibleIfStatements"/>
+ </rule>
+ <rule ref="rulesets/java/unusedcode.xml">
+ <exclude name="UnusedModifier"/>
+ </rule>
+ <rule ref="rulesets/java/imports.xml">
+ <exclude name="UnusedImports"/>
+ </rule>
+</ruleset>