forked from TEAMMATES/teammates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteammates-pmdMain.xml
18 lines (18 loc) · 959 Bytes
/
teammates-pmdMain.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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=""
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
This is the PMD additional ruleset for TEAMMATES production code.
</description>
<exclude-pattern>.*/test/java/.*</exclude-pattern>
<exclude-pattern>.*/e2e/java/.*</exclude-pattern>
<exclude-pattern>.*/client/java/.*</exclude-pattern>
<exclude-pattern>.*.html</exclude-pattern>
<exclude-pattern>.*.xml</exclude-pattern>
<rule ref="category/java/bestpractices.xml/AvoidPrintStackTrace"/>
<rule ref="category/java/bestpractices.xml/SystemPrintln"/>
<rule ref="category/java/design.xml/AvoidThrowingRawExceptionTypes"/>
<rule ref="category/java/design.xml/SignatureDeclareThrowsException"/>
</ruleset>