forked from lafaspot/logfast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle_suppressions.xml
23 lines (20 loc) · 1.34 KB
/
checkstyle_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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- Suppress package-info.java checks in the unit test source folders
(src/test/java) with the same package as product code (src/main/java). We
exclude all UT classes from package enforcement, which may include test-only
packages such as utilities. But we cannot have the same-named file in the
same package at different locations or Eclipse will complain. However, only
command-line check-style honors this exclusion, so Eclipse check-style will
still complain, but at least it will not be an Eclipse compile failure when
you have 2 of the same files in the same package. note: Alternatively we
could exclude anything with "test" in the name by files="[\\/]test[\\/]"
@author dvictor -->
<suppress checks="JavadocPackage" files="[\\/]test[\\/]" />
<suppress checks="JavadocStyleCheck" files="[\\/]test[\\/]" />
<suppress checks="JavadocVariable" files="[\\/]test[\\/]" />
<suppress checks="MagicNumber" files="[\\/]test[\\/]" />
<!-- Suppress all checkstyle for autogenerated jaxws.managed package -->
<suppress checks="[a-zA-Z0-9]*" files="[\\/]target[\\/]" />
</suppressions>