source: josm/trunk/tools/checkstyle/josm_checks.xml @ 8508

Last change on this file since 8508 was 8508, checked in by Don-vip, 6 years ago

update jacoco 0.7.5 + add checkstyle 6.7

File size: 2.0 KB
RevLine 
[8508]1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
3
4<!--
5    This configuration file was written by the eclipse-cs plugin configuration editor
6-->
7<!--
8    Checkstyle-Configuration: JOSM
9    Description:
10JOSM Checkstyle rules
11-->
12<module name="Checker">
13  <property name="severity" value="warning"/>
14  <module name="TreeWalker">
15    <module name="MissingDeprecated"/>
16    <module name="MissingOverride"/>
17    <module name="PackageAnnotation"/>
18    <module name="AnnotationLocation">
19      <property name="allowSamelineMultipleAnnotations" value="true"/>
20    </module>
21    <module name="AnnotationUseStyle"/>
22    <module name="JavadocStyle">
23      <property name="checkFirstSentence" value="false"/>
24      <property name="checkHtml" value="false"/>
25    </module>
26    <module name="NonEmptyAtclauseDescription"/>
27    <module name="AtclauseOrder"/>
28    <module name="AvoidStarImport"/>
29    <module name="RedundantImport"/>
30    <module name="UnusedImports">
31      <property name="processJavadoc" value="true"/>
32    </module>
33    <module name="AnonInnerLength">
34      <property name="max" value="50"/>
35    </module>
36    <module name="ExecutableStatementCount">
37      <property name="max" value="128"/>
38      <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
39    </module>
40    <module name="LineLength">
41      <property name="max" value="150"/>
42      <property name="tabWidth" value="4"/>
43    </module>
44    <module name="MethodLength">
45      <property name="max" value="300"/>
46    </module>
47    <module name="ParameterNumber">
48      <property name="max" value="10"/>
49    </module>
50    <module name="OuterTypeNumber"/>
51    <module name="MethodCount"/>
52  </module>
53  <module name="Header">
54    <property name="header" value="// License: GPL. For details, see LICENSE file."/>
55    <property name="fileExtensions" value=".java"/>
56  </module>
57  <module name="FileLength">
58    <property name="fileExtensions" value=".java"/>
59  </module>
60</module>
Note: See TracBrowser for help on using the repository browser.