-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
checkstyle.xml
59 lines (58 loc) · 2.11 KB
/
checkstyle.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
This configuration file was written by the eclipse-cs plugin configuration editor
-->
<!--
Checkstyle-Configuration: GIRCCheckStyle
Description: none
-->
<module name="Checker">
<property name="severity" value="warning"/>
<property name="fileExtensions" value="java"/>
<module name="TreeWalker">
<module name="ConstantName"/>
<module name="AbbreviationAsWordInName"/>
<module name="IllegalIdentifierName"/>
<module name="PackageName"/>
<module name="ClassTypeParameterName"/>
<module name="LocalVariableName"/>
<module name="MethodTypeParameterName"/>
<module name="TypeName"/>
<module name="MethodName"/>
<module name="MemberName"/>
<module name="InterfaceTypeParameterName"/>
<module name="LambdaParameterName">
<property name="format" value="^[a-z_][a-zA-Z0-9]*$"/>
</module>
<module name="StaticVariableName"/>
<module name="RecordTypeParameterName"/>
<module name="ParameterName"/>
<module name="CatchParameterName"/>
<module name="PatternVariableName"/>
<module name="RecordComponentName"/>
<module name="LocalFinalVariableName"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="Indentation">
<property name="arrayInitIndent" value="8"/>
</module>
<module name="SingleSpaceSeparator"/>
<module name="AnnotationUseStyle"/>
<module name="AnnotationLocation"/>
<module name="FinalParameters">
<property name="severity" value="warning"/>
<property name="tokens" value="METHOD_DEF,CTOR_DEF,LITERAL_CATCH,FOR_EACH_CLAUSE"/>
</module>
<module name="MissingOverride"/>
<module name="BooleanExpressionComplexity"/>
<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
</module>
<module name="LineLength">
<property name="max" value="120"/>
</module>
<module name="FileTabCharacter">
<property name="fileExtensions" value="java"/>
</module>
</module>