forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
suppressions.xml
63 lines (55 loc) · 2.66 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
52
53
54
55
56
57
58
59
60
61
62
63
<?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="SuppressWarningsFilter.java"
lines="24"/>
<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[\\/]test[\\/]"/>
<suppress checks="ImportControl" files=".*[\\/]src[\\/]test[\\/]"/>
<suppress checks="Javadoc" files=".*[\\/]src[\\/]test[\\/]"/>
<suppress checks="MagicNumber" files=".*[\\/]src[\\/]test[\\/]"/>
<suppress checks="MethodCount" files="[\\/]IndentationCheckTest.java$"/>
<suppress checks="EqualsAvoidNull" files="[\\/]Int.*FilterTest.java$"/>
<!-- suppressions to remove over time -->
<suppress checks="FinalLocalVariable" files=".*[\\/]src[\\/]test[\\/]"/>
<suppress checks="LineLength" files=".*[\\/]src[\\/]test[\\/]"/>
<suppress checks="Name" files=".*[\\/]src[\\/]test[\\/]"/>
<!--
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[\\/]"/>
<!-- Methods that build fake AST are very long-->
<suppress checks="MethodLength" files="src[\\/]test[\\/]java[\\/]com[\\/]puppycrawl[\\/]tools[\\/]checkstyle[\\/]comments[\\/]CommentsTest\.java"/>
<!-- False-positive while using @see -->
<suppress checks="UnusedImports" files="api[\\/]DetailNode\.java"/>
<suppress checks="UnusedImports" files="checks[\\/]javadoc[\\/]AbstractJavadocCheck\.java"/>
<suppress checks="." files=".*JavadocTokenTypes\.java"/>
<suppress checks="." files=".*ParseTreeBuilder\.java"/>
</suppressions>