aboutsummaryrefslogtreecommitdiffstats
path: root/src/site/pmd/custom-ruleset.xml
blob: 14cfd4fa76ecaca270544f2df3a9390ffbb80b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>