PMD trend config

This commit is contained in:
anhefti 2019-09-11 08:50:53 +02:00
parent 4f28eb240c
commit 04e19d8785

19
pmd-rulesets.xml Normal file
View file

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<ruleset name="SEB Server custom rules"
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>
SEB Server custom rules
</description>
<exclude-pattern>.*/batis/mapper/*.java</exclude-pattern>
<exclude-pattern>.*/batis/model/*.java</exclude-pattern>
<rule ref="category/java/codestyle.xml">
<exclude name="UselessParentheses"/>
</rule>
</ruleset>