Skip to content

Instantly share code, notes, and snippets.

@romani
Created November 12, 2023 04:25
Show Gist options
  • Save romani/c02d1cfd4005bdd25a4a1c9d0e5ec09c to your computer and use it in GitHub Desktop.
Save romani/c02d1cfd4005bdd25a4a1c9d0e5ec09c to your computer and use it in GitHub Desktop.
pull/13424 regression config
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/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">
<!-- Example of checkstyle Check usage -->
<!-- PLEASE CHANGE IT TO CHECK YOU ARE TESTING !!!! -->
<module name="AtclauseOrder"/>
<module name="JavadocBlockTagLocation"/>
<module name="JavadocContentLocation"/>
<module name="JavadocMissingLeadingAsterisk"/>
<module name="JavadocMissingWhitespaceAfterAsterisk"/>
<module name="JavadocParagraph"/>
<module name="JavadocTagContinuationIndentation"/>
<module name="MissingDeprecated"/>
<module name="NonEmptyAtclauseDescription"/>
<module name="RequireEmptyLineBeforeBlockTagGroup"/>
<module name="SingleLineJavadoc"/>
<module name="SummaryJavadoc"/>
<module name="MissingJavadocPackageCheck"/>
<module name="InvalidJavadocPosition">
<property name="id" value="InvalidJavadocPosition"/>
</module>
<module name="JavadocContentLocationCheck">
<property name="id" value="JavadocContentLocationCheck1"/>
</module>
<module name="JavadocContentLocationCheck">
<property name="location" value="first_line"/>
<property name="id" value="JavadocContentLocationCheck2"/>
</module>
<module name="DesignForExtension">
<property name="id" value="DesignForExtension1"/>
</module>
<module name="DesignForExtension">
<property name="requiredJavadocPhrase" value=".*"/>
<property name="id" value="DesignForExtension2"/>
</module>
<!-- Example of sevntu.checkstyle Check usage -->
<!-- <module name="NestedSwitchCheck"/> -->
<!-- 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>
<!-- Example of filter -->
<!--
<module name="SeverityMatchFilter">
<property name="severity" value="warning"/>
<property name="acceptOnMatch" value="false"/>
</module>
-->
<!-- 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