[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:
|
---|
| 10 | JOSM Checkstyle rules
|
---|
| 11 | -->
|
---|
| 12 | <module name="Checker">
|
---|
| 13 | <property name="severity" value="warning"/>
|
---|
| 14 | <module name="TreeWalker">
|
---|
[8510] | 15 | <module name="FileContentsHolder"/>
|
---|
[8508] | 16 | <module name="MissingDeprecated"/>
|
---|
| 17 | <module name="MissingOverride"/>
|
---|
| 18 | <module name="PackageAnnotation"/>
|
---|
| 19 | <module name="AnnotationLocation">
|
---|
| 20 | <property name="allowSamelineMultipleAnnotations" value="true"/>
|
---|
| 21 | </module>
|
---|
| 22 | <module name="AnnotationUseStyle"/>
|
---|
| 23 | <module name="JavadocStyle">
|
---|
| 24 | <property name="checkFirstSentence" value="false"/>
|
---|
| 25 | <property name="checkHtml" value="false"/>
|
---|
| 26 | </module>
|
---|
| 27 | <module name="NonEmptyAtclauseDescription"/>
|
---|
| 28 | <module name="AtclauseOrder"/>
|
---|
| 29 | <module name="AvoidStarImport"/>
|
---|
| 30 | <module name="RedundantImport"/>
|
---|
| 31 | <module name="UnusedImports">
|
---|
| 32 | <property name="processJavadoc" value="true"/>
|
---|
| 33 | </module>
|
---|
| 34 | <module name="AnonInnerLength">
|
---|
| 35 | <property name="max" value="50"/>
|
---|
| 36 | </module>
|
---|
| 37 | <module name="ExecutableStatementCount">
|
---|
| 38 | <property name="max" value="128"/>
|
---|
| 39 | <property name="tokens" value="INSTANCE_INIT,STATIC_INIT,METHOD_DEF,CTOR_DEF"/>
|
---|
| 40 | </module>
|
---|
| 41 | <module name="LineLength">
|
---|
| 42 | <property name="max" value="150"/>
|
---|
| 43 | <property name="tabWidth" value="4"/>
|
---|
| 44 | </module>
|
---|
| 45 | <module name="MethodLength">
|
---|
| 46 | <property name="max" value="300"/>
|
---|
| 47 | </module>
|
---|
| 48 | <module name="ParameterNumber">
|
---|
| 49 | <property name="max" value="10"/>
|
---|
| 50 | </module>
|
---|
| 51 | <module name="OuterTypeNumber"/>
|
---|
| 52 | <module name="MethodCount"/>
|
---|
[8510] | 53 | <module name="GenericWhitespace"/>
|
---|
| 54 | <module name="EmptyForInitializerPad"/>
|
---|
| 55 | <module name="EmptyForIteratorPad"/>
|
---|
| 56 | <module name="NoWhitespaceAfter"/>
|
---|
| 57 | <module name="NoWhitespaceBefore"/>
|
---|
| 58 | <module name="MethodParamPad"/>
|
---|
| 59 | <module name="ParenPad"/>
|
---|
| 60 | <module name="TypecastParenPad">
|
---|
| 61 | <property name="tokens" value="RPAREN,TYPECAST"/>
|
---|
| 62 | </module>
|
---|
| 63 | <module name="WhitespaceAfter"/>
|
---|
| 64 | <module name="WhitespaceAround">
|
---|
| 65 | <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV_ASSIGN,DO_WHILE,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR_ASSIGN,TYPE_EXTENSION_AND"/>
|
---|
| 66 | <property name="allowEmptyConstructors" value="true"/>
|
---|
| 67 | <property name="allowEmptyMethods" value="true"/>
|
---|
| 68 | <property name="allowEmptyTypes" value="true"/>
|
---|
| 69 | </module>
|
---|
| 70 | <module name="EmptyLineSeparator">
|
---|
| 71 | <property name="tokens" value="CLASS_DEF,ENUM_DEF,INTERFACE_DEF,CTOR_DEF,METHOD_DEF,STATIC_INIT"/>
|
---|
| 72 | <property name="allowNoEmptyLineBetweenFields" value="true"/>
|
---|
| 73 | <property name="allowMultipleEmptyLines" value="false"/>
|
---|
| 74 | </module>
|
---|
[8511] | 75 | <module name="ModifierOrder"/>
|
---|
[8512] | 76 | <module name="RedundantModifier"/>
|
---|
[8508] | 77 | </module>
|
---|
| 78 | <module name="Header">
|
---|
| 79 | <property name="header" value="// License: GPL. For details, see LICENSE file."/>
|
---|
| 80 | <property name="fileExtensions" value=".java"/>
|
---|
| 81 | </module>
|
---|
| 82 | <module name="FileLength">
|
---|
| 83 | <property name="fileExtensions" value=".java"/>
|
---|
| 84 | </module>
|
---|
[8510] | 85 | <module name="SuppressionCommentFilter">
|
---|
| 86 | <property name="offCommentFormat" value="CHECKSTYLE\.OFF\: ([\w\|]+)"/>
|
---|
| 87 | <property name="onCommentFormat" value="CHECKSTYLE\.ON\: ([\w\|]+)"/>
|
---|
| 88 | <property name="checkFormat" value="$1"/>
|
---|
| 89 | </module>
|
---|
| 90 | <module name="FileTabCharacter"/>
|
---|
[8508] | 91 | </module>
|
---|