-
Notifications
You must be signed in to change notification settings - Fork 0
/
suppressions.xml
51 lines (45 loc) · 2.02 KB
/
suppressions.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
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<suppress checks="FileLength"
files="TokenTypes.java"
lines="1"/>
<suppress checks="MagicNumber"
files="UnusedPrivateMethodCheck.java"
lines="176"/>
<suppress checks="ImportControl"
files="NewlineAtEndOfFileCheck.java"
lines="27"/>
<suppress checks="ImportControl"
files="TranslationCheck.java"
lines="24"/>
<suppress checks="ImportControl"
files="SuppressionCommentFilter.java"
lines="28"/>
<suppress checks="ImportControl"
files="SuppressWithNearbyCommentFilter.java"
lines="28"/>
<suppress id="paramNum"
files="LocalizedMessage.java"
lines="141,148,181,213"/>
<!-- Tone down the checking for test code -->
<suppress checks="EmptyBlock" files=".*[\\/]src[\\/]tests[\\/]"/>
<suppress checks="ImportControl" files=".*[\\/]src[\\/]tests[\\/]"/>
<suppress checks="Javadoc" files=".*[\\/]src[\\/]tests[\\/]"/>
<suppress checks="MagicNumber" files=".*[\\/]src[\\/]tests[\\/]"/>
<suppress checks="MethodCount" files="[\\/]IndentationCheckTest.java$"/>
<suppress checks="EqualsAvoidNull" files="[\\/]Int.*FilterTest.java$"/>
<!-- suppressions to remove over time -->
<suppress checks="FinalLocalVariable" files=".*[\\/]src[\\/]tests[\\/]"/>
<suppress checks="LineLength" files=".*[\\/]src[\\/]tests[\\/]"/>
<suppress checks="Name" files=".*[\\/]src[\\/]tests[\\/]"/>
<!--
Turn off all checks for Generated and Test code. Fixes issues with using
Eclipse plug-in.
-->
<suppress checks="." files=".*[\\/]grammars[\\/]Generated[a-zA-Z]*\.java"/>
<suppress checks="." files=".*[\\/]grammars[\\/]Generated[a-zA-Z]*\.java"/>
<suppress checks="." files=".*[\\/]checkstyle[\\/]gui[\\/]"/>
</suppressions>