Index: third_party/checkstyle/suppressions.xml |
diff --git a/third_party/checkstyle/suppressions.xml b/third_party/checkstyle/suppressions.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0298f550e9841f7674459fd051f81bb77350be1d |
--- /dev/null |
+++ b/third_party/checkstyle/suppressions.xml |
@@ -0,0 +1,53 @@ |
+<?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 checks="FileLength" |
+ files="TokenTypes.java" |
+ lines="1"/> |
+ <suppress checks="MagicNumber" |
+ files="UnusedPrivateMethodCheck.java" |
+ lines="176"/> |
+ <suppress checks="ImportControl" |
+ files="NewlineAtEndOfFileCheck.java" |
+ lines="27"/> |
+ <suppress checks="ImportControl" |
+ files="TranslationCheck.java" |
+ lines="24"/> |
+ <suppress checks="ImportControl" |
+ files="SuppressionCommentFilter.java" |
+ lines="28"/> |
+ <suppress checks="ImportControl" |
+ files="SuppressWarningsFilter.java" |
+ lines="24"/> |
+ <suppress checks="ImportControl" |
+ files="SuppressWithNearbyCommentFilter.java" |
+ lines="28"/> |
+ <suppress id="paramNum" |
+ files="LocalizedMessage.java" |
+ lines="141,148,181,213"/> |
+ |
+ <!-- Tone down the checking for test code --> |
+ <suppress checks="EmptyBlock" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ <suppress checks="ImportControl" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ <suppress checks="Javadoc" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ <suppress checks="MagicNumber" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ <suppress checks="MethodCount" files="[\\/]IndentationCheckTest.java$"/> |
+ <suppress checks="EqualsAvoidNull" files="[\\/]Int.*FilterTest.java$"/> |
+ |
+ <!-- suppressions to remove over time --> |
+ <suppress checks="FinalLocalVariable" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ <suppress checks="LineLength" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ <suppress checks="Name" files=".*[\\/]src[\\/]tests[\\/]"/> |
+ |
+ <!-- |
+ Turn off all checks for Generated and Test code. Fixes issues with using |
+ Eclipse plug-in. |
+ --> |
+ <suppress checks="." files=".*[\\/]grammars[\\/]Generated[a-zA-Z]*\.java"/> |
+ <suppress checks="." files=".*[\\/]grammars[\\/]Generated[a-zA-Z]*\.java"/> |
+ <suppress checks="." files=".*[\\/]checkstyle[\\/]gui[\\/]"/> |
+</suppressions> |