Skip to content

Commit

Permalink
Resolves #117: new config template
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush kumar sadangi authored and romani committed Jul 14, 2024
1 parent 5a34df9 commit 7416a64
Show file tree
Hide file tree
Showing 758 changed files with 3,790 additions and 4,548 deletions.
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example1/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName"/>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example2/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="ignoreOverriddenMethods" value="false"/>
<property name="ignoreStatic" value="false"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example3/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,21 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="allowedAbbreviationLength" value="0"/>
<property name="allowedAbbreviations" value="XML,URL,O"/>
<property name="ignoreStatic" value="false"/>
<property name="tokens" value="VARIABLE_DEF,CLASS_DEF"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example4/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,21 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="allowedAbbreviationLength" value="1"/>
<property name="allowedAbbreviations" value="CSV"/>
<property name="ignoreStatic" value="true"/>
<property name="tokens" value="VARIABLE_DEF"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example5/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="allowedAbbreviationLength" value="0"/>
<property name="ignoreFinal" value="false"/>
Expand All @@ -26,15 +30,10 @@
<property name="tokens" value="VARIABLE_DEF"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example6/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="allowedAbbreviationLength" value="0"/>
<property name="ignoreFinal" value="false"/>
Expand All @@ -26,15 +30,10 @@
<property name="tokens" value="VARIABLE_DEF"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbbreviationAsWordInName/Example7/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="allowedAbbreviations" value="ALLOWED"/>
<property name="ignoreStaticFinal" value="false"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbbreviationAsWordInName">
<property name="id" value="example1"/>
</module>
Expand Down Expand Up @@ -68,15 +72,10 @@
<property name="ignoreStaticFinal" value="false"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbstractClassName/Example1/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbstractClassName"/>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbstractClassName/Example2/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbstractClassName">
<property name="ignoreModifier" value="true"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbstractClassName/Example3/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbstractClassName">
<property name="ignoreName" value="true"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbstractClassName/Example4/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,18 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbstractClassName">
<property name="format" value="^Generator.+$"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AbstractClassName/all-examples-in-one/config-all-in-one.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AbstractClassName">
<property name="id" value="example1"/>
</module>
Expand All @@ -37,15 +41,10 @@
<property name="id" value="example4"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AnnotationLocation/Example1/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AnnotationLocation"/>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
11 changes: 5 additions & 6 deletions AnnotationLocation/Example2/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,20 @@
</module>

<module name="TreeWalker">
<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<property name="skipFileOnJavaParseException" value="true"/>
<property name="javaParseExceptionSeverity" value="ignore"/>

<module name="AnnotationLocation">
<property name="allowSamelineMultipleAnnotations" value="true"/>
<property name="allowSamelineParameterizedAnnotation" value="false"/>
<property name="allowSamelineSingleParameterlessAnnotation" value="false"/>
</module>

<!-- usuppress javadoc parsing errors, as we test Check not a parser -->
<!-- suppress 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>

<!-- as we run on regression even on non-compiled files we need to skip exceptions on them -->
<module name="SuppressionSingleFilter">
<property name="checks" value="Checker"/>
<property name="message" value="Exception occurred while parsing"/>
</module>
</module>
Loading

0 comments on commit 7416a64

Please sign in to comment.