Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
Do not checkstyle for auto-generated HelpMojo
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxia committed Mar 31, 2016
1 parent 7a3f9d0 commit 04efe35
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
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">

<suppressions>
<suppress files="HelpMojo.java" checks="[a-zA-Z0-9]*"/>
</suppressions>
4 changes: 4 additions & 0 deletions checkstyle.xml
Expand Up @@ -10,6 +10,10 @@ page at http://checkstyle.sourceforge.net/config.html -->

<module name="Checker">

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

<module name="Header">
<property name="headerFile" value="java.header"/>
<property name="ignoreLines" value="2, 3"/>
Expand Down

0 comments on commit 04efe35

Please sign in to comment.