-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapex-ruleset.xml
23 lines (20 loc) · 893 Bytes
/
apex-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
<?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/design.xml" />
<rule ref="category/apex/performance.xml" />
<rule ref="category/apex/codestyle.xml" />
<rule ref="category/apex/bestpractices.xml" />
<rule ref="category/apex/errorprone.xml" />
<rule ref="category/apex/design.xml/CyclomaticComplexity">
<properties>
<property name="classReportLevel" value="40" />
<property name="methodReportLevel" value="5" />
</properties>
</rule>
</ruleset>