Created
July 10, 2022 16:46
-
-
Save stoyanK7/0d95fd3ec8caa5cae9eb597ac8c78b8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
<module name = "Checker"> | |
<property name="charset" value="UTF-8"/> | |
<!-- do not change severity to 'error', as that will hide errors caused by exceptions --> | |
<property name="severity" value="warning"/> | |
<!-- haltOnException is required for exception fixes and reporting of all exceptions --> | |
<property name="haltOnException" value="false"/> | |
<!-- BeforeExecutionFileFilters is required for sources of java9 --> | |
<module name="BeforeExecutionExclusionFileFilter"> | |
<property name="fileNamePattern" value="module\-info\.java$" /> | |
</module> | |
<module name="TreeWalker"> | |
<!-- usuppress javadoc parsing errors, as we test Check not a parser --> | |
<module name="SuppressionXpathSingleFilter"> | |
<property name="message" value="Javadoc comment at column \d+ has parse error"/> | |
</module> | |
</module> | |
<!-- The filter we are checking--> | |
<module name="SuppressWithPlainTextCommentFilter"/> | |
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them --> | |
<module name="SuppressionSingleFilter"> | |
<property name="message" value="Exception occurred while parsing"/> | |
<property name="checks" value="Checker"/> | |
</module> | |
</module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment