Created
January 29, 2012 04:31
-
-
Save ksoichiro/1697214 to your computer and use it in GitHub Desktop.
CheckStyle suppression settings for Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE suppressions PUBLIC | |
"-//Puppy Crawl//DTD Suppressions 1.1//EN" | |
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> | |
<suppressions> | |
<!-- Turn off all checks for some libraries. --> | |
<suppress checks="." files="com[\\/]google[\\/]..*.java" /> | |
<!-- Turn off header checks for some libraries. --> | |
<suppress checks="Header" files=".*[\\/]android[\\/]fastroid[\\/].*\.java"/> | |
<!-- Allows public fields in entity or form packages. --> | |
<suppress checks="VisibilityModifier" files=".*[\\/](entity|form)[\\/].*\.java"/> | |
<!-- Allows magic numbers in entity or form packages. (for "fastroid") --> | |
<suppress checks="MagicNumber" files=".*[\\/](entity|form)[\\/].*\.java"/> | |
<suppress checks="[a-zA-Z0-9]*" files="R\.java" /> | |
<suppress checks="." files=".*\.properties" /> | |
</suppressions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment