|
1 | 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"> |
| 2 | +<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" |
| 3 | + "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> |
3 | 4 |
|
4 | 5 | <!--
|
5 | 6 | This configuration file was written by the eclipse-cs plugin configuration editor
|
|
9 | 10 | Description: none
|
10 | 11 | -->
|
11 | 12 | <module name="Checker">
|
12 |
| - <property name="severity" value="warning"/> |
13 |
| - <module name="TreeWalker"> |
14 |
| - <module name="JavadocType"> |
15 |
| - <property name="authorFormat" value="\S"/> |
16 |
| - </module> |
17 |
| - <module name="JavadocMethod"> |
18 |
| - <property name="allowUndeclaredRTE" value="true"/> |
19 |
| - </module> |
20 |
| - <module name="JavadocVariable"/> |
21 |
| - <module name="JavadocStyle"/> |
22 |
| - <module name="PackageName"> |
23 |
| - <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/> |
24 |
| - </module> |
25 |
| - <module name="TypeName"/> |
26 |
| - <module name="MemberName"/> |
27 |
| - <module name="LocalFinalVariableName"/> |
28 |
| - <module name="LocalVariableName"/> |
29 |
| - <module name="ParameterName"/> |
30 |
| - <module name="StaticVariableName"/> |
31 |
| - <module name="AvoidStarImport"/> |
32 |
| - <module name="IllegalImport"/> |
33 |
| - <module name="RedundantImport"/> |
34 |
| - <module name="UnusedImports"/> |
35 |
| - <module name="ImportOrder"> |
36 |
| - <property name="groups" value="java,javax"/> |
37 |
| - <property name="separated" value="true"/> |
38 |
| - </module> |
39 |
| - <module name="LineLength"> |
40 |
| - <property name="severity" value="ignore"/> |
41 |
| - <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> |
42 |
| - </module> |
43 |
| - <module name="MethodParamPad"/> |
44 |
| - <module name="NoWhitespaceAfter"/> |
45 |
| - <module name="NoWhitespaceBefore"/> |
46 |
| - <module name="OperatorWrap"> |
47 |
| - <property name="option" value="eol"/> |
48 |
| - <property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN"/> |
49 |
| - </module> |
50 |
| - <module name="ParenPad"/> |
51 |
| - <module name="TypecastParenPad"/> |
52 |
| - <module name="WhitespaceAfter"> |
53 |
| - <property name="tokens" value="COMMA, SEMI, TYPECAST"/> |
54 |
| - </module> |
55 |
| - <module name="WhitespaceAround"> |
56 |
| - <property name="tokens" value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, 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, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND, WILDCARD_TYPE"/> |
57 |
| - </module> |
58 |
| - <module name="ModifierOrder"/> |
59 |
| - <module name="RedundantModifier"/> |
60 |
| - <module name="EmptyBlock"/> |
61 |
| - <module name="LeftCurly"> |
62 |
| - <property name="option" value="nl"/> |
63 |
| - <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/> |
64 |
| - </module> |
65 |
| - <module name="LeftCurly"> |
66 |
| - <property name="tokens" value="LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/> |
67 |
| - </module> |
68 |
| - <module name="RightCurly"> |
69 |
| - <property name="option" value="alone"/> |
70 |
| - <property name="tokens" value="LITERAL_CATCH, LITERAL_FINALLY, LITERAL_ELSE"/> |
71 |
| - </module> |
72 |
| - <module name="AvoidNestedBlocks"> |
73 |
| - <property name="allowInSwitchCase" value="true"/> |
74 |
| - </module> |
75 |
| - <module name="CovariantEquals"/> |
76 |
| - <module name="EmptyStatement"/> |
77 |
| - <module name="EqualsHashCode"/> |
78 |
| - <module name="HiddenField"/> |
79 |
| - <module name="InnerAssignment"/> |
80 |
| - <module name="MissingSwitchDefault"/> |
81 |
| - <module name="ModifiedControlVariable"/> |
82 |
| - <module name="SimplifyBooleanExpression"/> |
83 |
| - <module name="SimplifyBooleanReturn"/> |
84 |
| - <module name="StringLiteralEquality"/> |
85 |
| - <module name="SuperClone"/> |
86 |
| - <module name="SuperFinalize"/> |
87 |
| - <module name="IllegalCatch"/> |
88 |
| - <module name="IllegalThrows"/> |
89 |
| - <module name="PackageDeclaration"/> |
90 |
| - <module name="DeclarationOrder"/> |
91 |
| - <module name="ParameterAssignment"/> |
92 |
| - <module name="ExplicitInitialization"/> |
93 |
| - <module name="DefaultComesLast"/> |
94 |
| - <module name="FallThrough"/> |
95 |
| - <module name="MultipleVariableDeclarations"/> |
96 |
| - <module name="UnnecessaryParentheses"/> |
97 |
| - <module name="VisibilityModifier"/> |
98 |
| - <module name="FinalClass"/> |
99 |
| - <module name="HideUtilityClassConstructor"/> |
100 |
| - <module name="DesignForExtension"/> |
101 |
| - <module name="MutableException"/> |
102 |
| - <module name="ClassFanOutComplexity"/> |
103 |
| - <module name="CyclomaticComplexity"> |
104 |
| - <property name="max" value="20"/> |
105 |
| - </module> |
106 |
| - <module name="NPathComplexity"/> |
107 |
| - <module name="RegexpSinglelineJava"> |
108 |
| - <property name="format" value="\s+$"/> |
109 |
| - <property name="message" value="Line has trailing spaces."/> |
110 |
| - </module> |
111 |
| - <module name="TodoComment"> |
112 |
| - <property name="format" value="TODO"/> |
113 |
| - </module> |
114 |
| - <module name="UncommentedMain"/> |
115 |
| - <module name="UpperEll"/> |
116 |
| - <module name="ArrayTypeStyle"/> |
117 |
| - <module name="Indentation"> |
118 |
| - <property name="basicOffset" value="2"/> |
119 |
| - <property name="caseIndent" value="2"/> |
120 |
| - </module> |
121 |
| - <module name="TrailingComment"/> |
122 |
| - </module> |
123 |
| - <module name="JavadocPackage"/> |
124 |
| - <module name="NewlineAtEndOfFile"/> |
125 |
| - <module name="Translation"/> |
| 13 | + <property name="severity" value="warning"/> |
| 14 | + <module name="TreeWalker"> |
| 15 | + <module name="JavadocType"> |
| 16 | + <property name="authorFormat" value="\S"/> |
| 17 | + </module> |
| 18 | + <module name="JavadocMethod"> |
| 19 | + <property name="allowUndeclaredRTE" value="true"/> |
| 20 | + </module> |
| 21 | + <module name="JavadocVariable"/> |
| 22 | + <module name="JavadocStyle"/> |
| 23 | + <module name="PackageName"> |
| 24 | + <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/> |
| 25 | + </module> |
| 26 | + <module name="TypeName"/> |
| 27 | + <module name="MemberName"/> |
| 28 | + <module name="LocalFinalVariableName"/> |
| 29 | + <module name="LocalVariableName"/> |
| 30 | + <module name="ParameterName"/> |
| 31 | + <module name="StaticVariableName"/> |
| 32 | + <module name="AvoidStarImport"/> |
| 33 | + <module name="IllegalImport"/> |
| 34 | + <module name="RedundantImport"/> |
| 35 | + <module name="UnusedImports"/> |
| 36 | + <module name="ImportOrder"> |
| 37 | + <property name="groups" value="java,javax"/> |
| 38 | + <property name="separated" value="true"/> |
| 39 | + </module> |
| 40 | + <module name="LineLength"> |
| 41 | + <property name="severity" value="ignore"/> |
| 42 | + <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> |
| 43 | + </module> |
| 44 | + <module name="MethodParamPad"/> |
| 45 | + <module name="NoWhitespaceAfter"/> |
| 46 | + <module name="NoWhitespaceBefore"/> |
| 47 | + <module name="OperatorWrap"> |
| 48 | + <property name="option" value="eol"/> |
| 49 | + <property name="tokens" |
| 50 | + value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, SL, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN"/> |
| 51 | + </module> |
| 52 | + <module name="ParenPad"/> |
| 53 | + <module name="TypecastParenPad"/> |
| 54 | + <module name="WhitespaceAfter"> |
| 55 | + <property name="tokens" value="COMMA, SEMI, TYPECAST"/> |
| 56 | + </module> |
| 57 | + <module name="WhitespaceAround"> |
| 58 | + <property name="tokens" |
| 59 | + value="ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, 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, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, TYPE_EXTENSION_AND, WILDCARD_TYPE"/> |
| 60 | + </module> |
| 61 | + <module name="ModifierOrder"/> |
| 62 | + <module name="RedundantModifier"/> |
| 63 | + <module name="EmptyBlock"/> |
| 64 | + <module name="LeftCurly"> |
| 65 | + <property name="option" value="nl"/> |
| 66 | + <property name="tokens" |
| 67 | + value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, METHOD_DEF"/> |
| 68 | + </module> |
| 69 | + <module name="LeftCurly"> |
| 70 | + <property name="tokens" |
| 71 | + value="LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE"/> |
| 72 | + </module> |
| 73 | + <module name="RightCurly"> |
| 74 | + <property name="option" value="alone"/> |
| 75 | + <property name="tokens" |
| 76 | + value="LITERAL_CATCH, LITERAL_FINALLY, LITERAL_ELSE"/> |
| 77 | + </module> |
| 78 | + <module name="AvoidNestedBlocks"> |
| 79 | + <property name="allowInSwitchCase" value="true"/> |
| 80 | + </module> |
| 81 | + <module name="CovariantEquals"/> |
| 82 | + <module name="EmptyStatement"/> |
| 83 | + <module name="EqualsHashCode"/> |
| 84 | + <module name="HiddenField"/> |
| 85 | + <module name="InnerAssignment"/> |
| 86 | + <module name="MissingSwitchDefault"/> |
| 87 | + <module name="ModifiedControlVariable"/> |
| 88 | + <module name="SimplifyBooleanExpression"/> |
| 89 | + <module name="SimplifyBooleanReturn"/> |
| 90 | + <module name="StringLiteralEquality"/> |
| 91 | + <module name="SuperClone"/> |
| 92 | + <module name="SuperFinalize"/> |
| 93 | + <module name="IllegalCatch"/> |
| 94 | + <module name="IllegalThrows"/> |
| 95 | + <module name="PackageDeclaration"/> |
| 96 | + <module name="DeclarationOrder"/> |
| 97 | + <module name="ParameterAssignment"/> |
| 98 | + <module name="ExplicitInitialization"/> |
| 99 | + <module name="DefaultComesLast"/> |
| 100 | + <module name="FallThrough"/> |
| 101 | + <module name="MultipleVariableDeclarations"/> |
| 102 | + <module name="UnnecessaryParentheses"/> |
| 103 | + <module name="VisibilityModifier"/> |
| 104 | + <module name="FinalClass"/> |
| 105 | + <module name="HideUtilityClassConstructor"/> |
| 106 | + <module name="DesignForExtension"/> |
| 107 | + <module name="MutableException"/> |
| 108 | + <module name="ClassFanOutComplexity"/> |
| 109 | + <module name="CyclomaticComplexity"> |
| 110 | + <property name="max" value="20"/> |
| 111 | + </module> |
| 112 | + <module name="NPathComplexity"/> |
| 113 | + <module name="RegexpSinglelineJava"> |
| 114 | + <property name="format" value="\s+$"/> |
| 115 | + <property name="message" value="Line has trailing spaces."/> |
| 116 | + </module> |
| 117 | + <module name="TodoComment"> |
| 118 | + <property name="format" value="TODO"/> |
| 119 | + </module> |
| 120 | + <module name="UncommentedMain"/> |
| 121 | + <module name="UpperEll"/> |
| 122 | + <module name="ArrayTypeStyle"/> |
| 123 | + <module name="Indentation"> |
| 124 | + <property name="basicOffset" value="2"/> |
| 125 | + <property name="caseIndent" value="2"/> |
| 126 | + </module> |
| 127 | + <module name="TrailingComment"/> |
| 128 | + </module> |
| 129 | + <module name="JavadocPackage"/> |
| 130 | + <module name="NewlineAtEndOfFile"/> |
| 131 | + <module name="Translation"/> |
126 | 132 | </module>
|
0 commit comments