-
Notifications
You must be signed in to change notification settings - Fork 10
/
checks.xml
34 lines (29 loc) · 1008 Bytes
/
checks.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
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<property name="severity" value="warning"/>
<module name="StrictDuplicateCode">
<property name="min" value="50"/>
<!-- due to the gpl-header this produces tons of output. to get
valuable output try something like:
scons -c
checkstyle -c checks.xml -r src/ | grep -v "line [1-9]$"
-->
</module>
<module name="NewlineAtEndOfFile"/>
<module name="TreeWalker">
<module name="FileLength"/>
<module name="LineLength"/>
<module name="MethodLength"/>
<module name="ParameterNumber"/>
<module name="EmptyBlock"/>
<module name="LeftCurly"/>
<module name="NeedBraces"/>
<module name="RightCurly"/>
<module name="MagicNumber"/>
<module name="MissingSwitchDefault"/>
<module name="TodoComment"/>
</module>
</module>