Skip to content

Instantly share code, notes, and snippets.

@jk
Forked from ksoichiro/android-suppressions.xml
Created December 24, 2012 22:47
Show Gist options
  • Save jk/4370923 to your computer and use it in GitHub Desktop.
Save jk/4370923 to your computer and use it in GitHub Desktop.
<?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