Source code

Revision control

Other Tools

1
<?xml version="1.0"?>
2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
3
- License, v. 2.0. If a copy of the MPL was not distributed with this
4
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
<!DOCTYPE module PUBLIC
6
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
8
9
<module name="Checker">
10
<property name="charset" value="UTF-8"/>
11
12
<!-- Disallow tabs -->
13
<module name="FileTabCharacter">
14
<property name="eachLine" value="true"/>
15
</module>
16
17
<!-- Disallow trailing whitespace -->
18
<module name="RegexpSingleline">
19
<property name="format" value="\s+$"/>
20
<property name="message" value="Trailing whitespace"/>
21
</module>
22
23
<module name="TreeWalker">
24
<module name="FinalParameters"/>
25
<module name="ParameterName"/>
26
<module name="StaticVariableName"/>
27
<module name="LeftCurly"/>
28
<module name="RightCurly"/>
29
<module name="Indentation"/>
30
<module name="OneStatementPerLine"/>
31
<module name="AvoidStarImport"/>
32
<module name="UnusedImports"/>
33
34
<module name="MemberName">
35
<!-- Private members must use mHungarianNotation -->
36
<property name="format" value="m[A-Z][A-Za-z]*$"/>
37
<property name="applyToPrivate" value="true" />
38
<property name="applyToPublic" value="false" />
39
<property name="applyToPackage" value="false" />
40
<property name="applyToProtected" value="false" />
41
</module>
42
43
<module name="ClassTypeParameterName">
44
<property name="format" value="^[A-Z][A-Za-z]*$"/>
45
</module>
46
<module name="InterfaceTypeParameterName">
47
<property name="format" value="^[A-Z][A-Za-z]*$"/>
48
</module>
49
<module name="LocalVariableName"/>
50
51
<module name="GenericWhitespace"/>
52
<module name="NoLineWrap">
53
<property name="tokens" value="IMPORT,PACKAGE_DEF"/>
54
</module>
55
<module name="OuterTypeFilename"/>
56
<module name="WhitespaceAfter">
57
<property name="tokens" value="COMMA, SEMI"/>
58
</module>
59
<module name="WhitespaceAround">
60
<property name="allowEmptyConstructors" value="true"/>
61
<property name="allowEmptyMethods" value="true"/>
62
<property name="allowEmptyTypes" value="true"/>
63
</module>
64
<module name="OneTopLevelClass"/>
65
</module>
66
67
</module>