| <?xml version="1.0"?> |
| |
| <!DOCTYPE suppressions PUBLIC |
| "-//Puppy Crawl//DTD Suppressions 1.1//EN" |
| "http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd"> |
| |
| <suppressions> |
| |
| <!-- Fixing these cases will decrease code readability --> |
| <suppress checks="MultipleStringLiteralsExtended" |
| files="JavadocStyleCheck\.java|AbstractTypeAwareCheck\.java|XMLLogger\.java"/> |
| <suppress checks="MultipleStringLiteralsExtended" |
| files=".*[\\/]src[\\/](test|it)[\\/]"/> |
| <!-- ParseTreeBuilder is generated, to keep ease of generation violations are suppressed --> |
| <suppress checks="LineLengthExtended" |
| files="ParseTreeBuilder\.java"/> |
| |
| <!-- If we change declaration order, Illegal forward reference will appear. |
| See https://github.com/sevntu-checkstyle/sevntu.checkstyle/issues/415--> |
| <suppress checks="CustomDeclarationOrder" |
| files="JavadocTokenTypes.java"/> |
| |
| <!--JavadocTagInfo.java, JavadocTags.java, InvalidJavadocTag.java, JavadocTag.java will be |
| deprecated as we completely switch to ANTLR parser for javadoc. All of the mentioned classes |
| are required only for old javadoc parsers and their usage will be excluded from |
| JavadocUtils.java and JavadocUtilsTest.java. --> |
| <suppress checks="ForbidCertainImports" |
| files="JavadocUtils\.java|JavadocUtilsTest\.java"/> |
| |
| <!--ITs and UTs are not included in Cobertura coverage report |
| and do not have coverage problems due to imports from java.util.stream. --> |
| <suppress id="ForbidInterfacesImportFromJavaUtilStream" |
| files=".*[\\/]src[\\/](test|it)[\\/]"/> |
| |
| <!-- Tone down the checking for test code --> |
| <suppress checks="ForbidCertainImports" |
| files="DetailASTTest\.java"/> |
| |
| <!-- Main and MainTest are technically not part of the checkstyle library, |
| so static Loggers are okay there. --> |
| <suppress checks="AvoidModifiersForTypesCheck" |
| files="Main\.java|MainTest\.java"/> |
| </suppressions> |