forked from IBM/OpenJCEPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
37 lines (37 loc) · 1.7 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
###############################################################################
#
# Copyright IBM Corp. 2023
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution.
#
###############################################################################
-->
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="TreeWalker">
<property name="fileExtensions" value="java"/>
<module name="UnusedImports"/>
<module name="AvoidStarImport"/>
<module name="RedundantImport"/>
<module name="StringLiteralEquality"/>
<module name="GenericWhitespace"/>
<module name="Indentation">
<property name="caseIndent" value="4"/>
<property name="arrayInitIndent" value="8"/>
</module>
<module name="UnusedLocalVariable"/>
<module name="EmptyBlock"/>
<module name="ImportOrder"/>
<module name="StringLiteralEquality"/>
</module>
<module name="NewlineAtEndOfFile"/>
<module name="RegexpHeader">
<property name="fileExtensions" value="java"/>
<property name="header" value="^\W.*\n^.*Copyright IBM Corp\. \d\d\d\d\n^\W.*\n^\W.*. Licensed under the Apache License 2.0 \(the "License"\). You may not use\n^\W.* this file except in compliance with the License. You can obtain a copy\n^\W.* in the file LICENSE in the source distribution.\n^\W"/>
</module>
<module name="FileTabCharacter"/>
</module>