Skip to content

Commit

Permalink
Added checkstyle suppressions for the test files
Browse files Browse the repository at this point in the history
  • Loading branch information
dabico committed Sep 30, 2023
1 parent 617aa4a commit 915d5d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">

<suppressions>
<suppress files=".+/test/.+" checks="[a-zA-Z0-9]*"/>
</suppressions>
4 changes: 4 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<property name="fileExtensions" value="java"/>
<property name="severity" value="error"/>

<module name="SuppressionFilter">
<property name="file" value="checkstyle-suppressions.xml" />
</module>

<module name="FileTabCharacter"/>
<module name="NewlineAtEndOfFile"/>

Expand Down

0 comments on commit 915d5d5

Please sign in to comment.