mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-25 15:27:45 -05:00
16 lines
752 B
XML
16 lines
752 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Custom ruleset (for tests)" 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 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
|
|
<description>
|
|
Rules for the test harness code aka "androidTest" and "test".
|
|
</description>
|
|
|
|
<!-- ideally these would be promoted to rules.xml -->
|
|
<rule ref="category/java/bestpractices.xml/ConstantsInInterface"/>
|
|
<rule ref="category/java/bestpractices.xml/UseCollectionIsEmpty"/>
|
|
<rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingMethodName"/>
|
|
<rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingTypeName"/>
|
|
|
|
</ruleset>
|