Update Checkstyle config to ignore generated sources

Change-Id: Iaead8d846cb1bd2e9240bc52ee0feabdfd3ffddf
This commit is contained in:
David Pursehouse 2015-08-26 16:01:36 +09:00
parent f73fccea80
commit 8bb7701d34
2 changed files with 11 additions and 0 deletions

View File

@ -104,4 +104,7 @@ edited to remove noisy warnings.
<property name="checkFormat" value="$1"/>
<property name="influenceFormat" value="$2"/>
</module>
<module name="SuppressionFilter">
<property name="file" value="${samedir}/checkstyle_suppressions.xml"/>
</module>
</module>

View File

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<suppress files="[/\\].apt_generated[/\\]" checks=".*"/>
</suppressions>