|
34 | 34 | <property name="optional" value="true"/>
|
35 | 35 | </module>
|
36 | 36 |
|
| 37 | + |
37 | 38 | <!-- Checks for whitespace -->
|
38 | 39 | <!-- See http://checkstyle.org/config_whitespace.html -->
|
39 | 40 | <module name="FileTabCharacter">
|
|
46 | 47 | <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
|
47 | 48 | </module>
|
48 | 49 |
|
| 50 | + <module name="SuppressWarningsFilter" /> |
| 51 | + |
49 | 52 | <module name="TreeWalker">
|
| 53 | + <!-- needed for SuppressWarningsFilter --> |
| 54 | + <module name="SuppressWarningsHolder" /> |
| 55 | + |
| 56 | + <module name="SuppressWarnings"> |
| 57 | + <property name="id" value="checkstyle:suppresswarnings"/> |
| 58 | + </module> |
| 59 | + |
| 60 | + <!-- https://checkstyle.org/config_filters.html#SuppressionXpathFilter --> |
| 61 | + <module name="SuppressionXpathFilter"> |
| 62 | + <property name="file" value="${org.checkstyle.google.suppressionxpathfilter.config}" |
| 63 | + default="checkstyle-xpath-suppressions.xml" /> |
| 64 | + <property name="optional" value="true"/> |
| 65 | + </module> |
| 66 | + |
50 | 67 | <module name="OuterTypeFilename"/>
|
51 | 68 | <module name="IllegalTokenText">
|
52 | 69 | <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
|
|
223 | 240 | <property name="arrayInitIndent" value="4"/>
|
224 | 241 | </module>
|
225 | 242 | <module name="AbbreviationAsWordInName">
|
226 |
| - <property name="ignoreFinal" value="false"/> |
| 243 | + <property name="ignoreFinal" value="true"/> |
227 | 244 | <property name="allowedAbbreviations" value="API" />
|
228 | 245 | <property name="allowedAbbreviationLength" value="1"/>
|
229 | 246 | <property name="tokens"
|
|
292 | 309 | <property name="allowedAnnotations" value="Override, Test"/>
|
293 | 310 | <property name="tokens" value="METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF"/>
|
294 | 311 | </module>
|
| 312 | + <module name="MissingJavadocType"> |
| 313 | + <property name="scope" value="protected"/> |
| 314 | + <property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, |
| 315 | + RECORD_DEF, ANNOTATION_DEF"/> |
| 316 | + <property name="excludeScope" value="nothing"/> |
| 317 | + </module> |
295 | 318 | <module name="MethodName">
|
296 | 319 | <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
|
297 | 320 | <message key="name.invalidPattern"
|
|
306 | 329 | <module name="CommentsIndentation">
|
307 | 330 | <property name="tokens" value="SINGLE_LINE_COMMENT, BLOCK_COMMENT_BEGIN"/>
|
308 | 331 | </module>
|
309 |
| - <!-- https://checkstyle.org/config_filters.html#SuppressionXpathFilter --> |
310 |
| - <module name="SuppressionXpathFilter"> |
311 |
| - <property name="file" value="${org.checkstyle.google.suppressionxpathfilter.config}" |
312 |
| - default="checkstyle-xpath-suppressions.xml" /> |
313 |
| - <property name="optional" value="true"/> |
314 |
| - </module> |
315 | 332 | </module>
|
316 | 333 | </module>
|
317 |
| - |
|
0 commit comments