source: osm/applications/editors/josm/plugins/MicrosoftStreetside/config/pmd/ruleset.xml

Last change on this file was 36483, checked in by stoecker, 6 months ago

set eol-style, fix checkstyle issues, add ignores

  • Property svn:eol-style set to LF
File size: 1.1 KB
RevLine 
[34317]1<?xml version="1.0"?>
[34329]2<ruleset name="Ruleset for ms-streetside-josm-plugin"
[34317]3 xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
6 <description>
7 This ruleset checks some rules that you should normally follow for the ms-streetside-josm-plugin.
8 </description>
9
[35779]10 <rule ref="category/java/design.xml">
[34317]11 <exclude name="LoosePackageCoupling" />
12 <exclude name="LawOfDemeter" />
13 </rule>
[35779]14 <rule ref="category/java/codestyle.xml">
[34317]15 <exclude name="ConfusingTernary" />
[35779]16 <exclude name="LocalVariableCouldBeFinal" />
17 <exclude name="MethodArgumentCouldBeFinal" />
18 <exclude name="UselessParentheses" />
19 <exclude name="IfStmtsMustUseBraces"/>
[34317]20 </rule>
[35779]21 <rule ref="category/java/multithreading.xml">
22 <exclude name="AvoidSynchronizedAtMethodLevel" />
[34317]23 </rule>
[35779]24 <rule ref="category/java/bestpractices.xml"/>
25 <rule ref="category/java/errorprone.xml"/>
26 <rule ref="category/java/performance.xml">
[34317]27 <exclude name="AvoidInstantiatingObjectsInLoops" />
28 </rule>
29</ruleset>
Note: See TracBrowser for help on using the repository browser.