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

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

set eol-style, fix checkstyle issues, add ignores

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1<?xml version="1.0"?>
2<ruleset name="Ruleset for ms-streetside-josm-plugin"
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
10 <rule ref="category/java/design.xml">
11 <exclude name="LoosePackageCoupling" />
12 <exclude name="LawOfDemeter" />
13 </rule>
14 <rule ref="category/java/codestyle.xml">
15 <exclude name="ConfusingTernary" />
16 <exclude name="LocalVariableCouldBeFinal" />
17 <exclude name="MethodArgumentCouldBeFinal" />
18 <exclude name="UselessParentheses" />
19 <exclude name="IfStmtsMustUseBraces"/>
20 </rule>
21 <rule ref="category/java/multithreading.xml">
22 <exclude name="AvoidSynchronizedAtMethodLevel" />
23 </rule>
24 <rule ref="category/java/bestpractices.xml"/>
25 <rule ref="category/java/errorprone.xml"/>
26 <rule ref="category/java/performance.xml">
27 <exclude name="AvoidInstantiatingObjectsInLoops" />
28 </rule>
29</ruleset>
Note: See TracBrowser for help on using the repository browser.