mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 11:19:27 +08:00
32 lines
877 B
XML
32 lines
877 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ruleset name="{RULESET_NAME}"
|
|
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>{RULESET_DESCRIPTION}</description>
|
|
|
|
<rule name="{RULE_NAME}"
|
|
language="{LANGUAGE}"
|
|
message="{VIOLATION_MESSAGE}"
|
|
class="net.sourceforge.pmd.lang.rule.xpath.XPathRule">
|
|
|
|
<description>{RULE_DESCRIPTION}</description>
|
|
<priority>{PRIORITY}</priority>
|
|
|
|
<properties>
|
|
<property name="xpath">
|
|
<value><![CDATA[
|
|
{XPATH_EXPRESSION}
|
|
]]></value>
|
|
</property>
|
|
</properties>
|
|
|
|
<example>
|
|
<![CDATA[
|
|
{EXAMPLE_VIOLATING_CODE}
|
|
]]>
|
|
</example>
|
|
</rule>
|
|
</ruleset>
|