-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathruleset.xml
28 lines (21 loc) · 850 Bytes
/
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
<?xml version="1.0" encoding="UTF-8" ?>
<ruleset
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Default ruleset used by the CodeClimate Engine for Salesforce.com Apex"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
>
<description>Default ruleset</description>
<rule ref="category/apex/security.xml">
<priority>1</priority>
</rule>
<rule ref="category/apex/design.xml" />
<rule ref="category/apex/performance.xml" />
<rule ref="category/apex/codestyle.xml">
<exclude name="EmptyCatchBlock" />
</rule>
<rule ref="category/apex/bestpractices.xml" />
<rule ref="category/apex/documentation.xml">
<exclude name="ApexDoc" />
</rule>
</ruleset>