1+ <?xml version =" 1.0" ?>
2+ <!--
3+ Licensed to the Apache Software Foundation (ASF) under one
4+ or more contributor license agreements. See the NOTICE file
5+ distributed with this work for additional information
6+ regarding copyright ownership. The ASF licenses this file
7+ to you under the Apache License, Version 2.0 (the
8+ "License"); you may not use this file except in compliance
9+ with the License. You may obtain a copy of the License at
10+
11+ http://www.apache.org/licenses/LICENSE-2.0
12+
13+ Unless required by applicable law or agreed to in writing,
14+ software distributed under the License is distributed on an
15+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+ KIND, either express or implied. See the License for the
17+ specific language governing permissions and limitations
18+ under the License.
19+ -->
20+ <!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
21+ <module name =" Checker" >
22+
23+ <!-- Suppressions -->
24+ <module name =" SuppressionFilter" >
25+ <property name =" file" value =" ${config_loc}/checkstyle-suppressions.xml" />
26+ </module >
27+
28+ <!-- Root Checks -->
29+ <module name =" NewlineAtEndOfFile" />
30+ <module name =" FileTabCharacter" />
31+ <module name =" SuppressWarningsFilter" />
32+
33+ <!-- TreeWalker Checks -->
34+ <module name =" TreeWalker" >
35+
36+ <module name =" SuppressWarningsHolder" />
37+
38+ <!-- Imports -->
39+ <module name =" AvoidStarImport" />
40+ <module name =" RedundantImport" />
41+ <module name =" UnusedImports" >
42+ <property name =" processJavadoc" value =" false" />
43+ </module >
44+ <module name =" ImportOrderCheck" >
45+ <!-- Import groups: JAVA, JAVAX, GROOVY, JAKARTA, OTHER, SPRING, GRAILS, STATIC -->
46+ <property name =" groups" value =" java,javax,/^(groovy|org\.apache\.groovy|org\.codehaus\.groovy)\..+/,jakarta,*,/(^io\.spring|org\.springframework)\..+/,/^(grails|org\.apache\.grails|org\.grails)\..+/" />
47+ <property name =" ordered" value =" true" />
48+ <property name =" option" value =" bottom" />
49+ <property name =" separated" value =" true" />
50+ <property name =" sortStaticImportsAlphabetically" value =" true" />
51+ </module >
52+
53+ <!-- Whitespace -->
54+ <module name =" CommentsIndentation" />
55+ <module name =" EmptyLineSeparator" >
56+ <property name =" allowMultipleEmptyLines" value =" false" />
57+ <property name =" allowMultipleEmptyLinesInsideClassMembers" value =" false" />
58+ <property name =" allowNoEmptyLineBetweenFields" value =" true" />
59+ <property name =" tokens" value =" IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF" /><!-- PACKAGE_DEF removed from defaults -->
60+ </module >
61+ <module name =" GenericWhitespace" />
62+ <module name =" Indentation" />
63+ <module name =" NoLineWrap" />
64+ <module name =" MethodParamPad" />
65+ <module name =" NoWhitespaceAfter" >
66+ <property name =" tokens" value =" AT, INC, DEC, UNARY_MINUS, UNARY_PLUS, BNOT, LNOT, DOT, ARRAY_DECLARATOR, INDEX_OP" /><!-- ARRAY_INIT removed from defaults -->
67+ </module >
68+ <module name =" NoWhitespaceBefore" />
69+ <module name =" NoWhitespaceBeforeCaseDefaultColon" />
70+ <module name =" OperatorWrap" >
71+ <property name =" option" value =" eol" />
72+ </module >
73+ <module name =" ParenPad" />
74+ <module name =" SeparatorWrap" >
75+ <property name =" option" value =" nl" />
76+ <property name =" tokens" value =" DOT" />
77+ </module >
78+ <module name =" SingleSpaceSeparator" />
79+ <module name =" TypecastParenPad" />
80+ <module name =" WhitespaceAfter" />
81+ <module name =" WhitespaceAround" >
82+ <property name =" allowEmptyCatches" value =" true" />
83+ <property name =" allowEmptyConstructors" value =" true" />
84+ <property name =" allowEmptyMethods" value =" true" />
85+ <property name =" allowEmptyTypes" value =" true" />
86+ </module >
87+ </module >
88+
89+ </module >
0 commit comments