-
Notifications
You must be signed in to change notification settings - Fork 82
/
checkstyle-suppressions.xml
35 lines (28 loc) · 1.85 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
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<!-- ignore com.azure.autorest.customization.implementation -->
<suppress checks="IllegalImport" files="src[/\\]main[/\\]java[/\\]com[/\\]azure[/\\]autorest[/\\]customization[/\\]implementation[/\\].*.java"/>
<!-- Add Javadoc suppression for any test files (ie. ones that live under src/test/java). -->
<suppress checks="[a-zA-Z0-9]*" files="src[/\\]test[/\\]java[/\\].*.java"/>
<suppress checks="Javadoc" files=".*[/\\]implementation[/\\].*\.java"/>
<suppress checks="Header" files=".*package-info.java"/>
<!-- ignore missing javadoc in samples -->
<suppress checks="MissingJavadocMethod" files=".*[/\\]samples[/\\].*\.java"/>
<suppress checks="MissingJavadocType" files=".*[/\\]samples[/\\].*\.java"/>
<suppress checks="MissingJavadocPackage" files=".*[/\\]samples[/\\].*\.java"/>
<!-- Don't check for JavaDocPackage in samples or tests-->
<suppress checks="JavadocPackage" files=".*[/\\](samples|test)[/\\].*\.java"/>
<suppress checks="PackageName" files="_specs_[/\\].*"/>
<!-- code model -->
<suppress checks="[ParameterName|MemberName]" files="com[/\\]azure[/\\]autorest[/\\]extension[/\\]base[/\\]model[/\\]codemodel[/\\].*.java"/>
<!-- class type -->
<suppress checks="[ConstantName|MethodName]" files="com[/\\]azure[/\\]autorest[/\\]model[/\\]clientmodel[/\\]GenericType.java"/>
<suppress checks="[ConstantName|MethodName]" files="com[/\\]azure[/\\]autorest[/\\]fluent[/\\]model[/\\]FluentType.java"/>
<!-- androidgen -->
<suppress checks="[a-zA-Z0-9]*" files="com[/\\]azure[/\\]autorest[/\\]android[/\\].*"/>
<!-- com.microsoft.typespec -->
<suppress checks="[a-zA-Z0-9]*" files="com[/\\]microsoft[/\\]typespec[/\\].*"/>
</suppressions>