-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_suppressions.xml
32 lines (30 loc) · 1.34 KB
/
style_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
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<!-- Don't do any CheckStyle checks on any Test files. -->
<suppress checks="[a-zA-Z0-9]*"
files="src[\\/]test[\\/].*"/>
<suppress checks="[a-zA-Z0-9]*"
files=".*Test.java"/>
<!-- Disabling picky CheckStyle checks that don't understand how this package is structured. -->
<suppress checks="VisibilityModifier"
files="src[\\/]main[\\/].*"/>
<suppress checks="JavadocPackage"
files="src[\\/]main[\\/].*"/>
<suppress checks="ParameterNumber"
files="src[\\/]main[\\/].*"/>
<!--- Need to suppress below checks due to overridden HttpUrlConnection class code -->
<suppress checks="MagicNumber"
files="src[\\/]main[\\/].*"/>
<suppress checks="ParameterName"
files="src[\\/]main[\\/].*"/>
<suppress checks="MethodLength"
files="src[\\/]main[\\/].*"/>
<suppress checks="UnusedImports"
files="src[\\/]main[\\/].*"/>
<!-- Don't do any CheckStyle checks on any non-Java files. -->
<suppress files=".+\.(?:txt|xml|csv|sh|thrift|html|sql|eot|ttf|woff|css|png)$"
checks=".*"/>
</suppressions>