aboutsummaryrefslogtreecommitdiff
path: root/gradle/checkstyle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/checkstyle.xml')
-rw-r--r--gradle/checkstyle.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/gradle/checkstyle.xml b/gradle/checkstyle.xml
index d85100471..e4df54d8c 100644
--- a/gradle/checkstyle.xml
+++ b/gradle/checkstyle.xml
@@ -5,6 +5,13 @@
<module name="Checker">
+ <module name="SuppressWarningsFilter"/>
+
+ <module name="SuppressionSingleFilter">
+ <property name="files" value="[/\\]protobuf[/\\]"/>
+ <property name="checks" value=".*"/>
+ </module>
+
<!--<property name="fileExtensions" value="java, properties, xml"/>-->
<!-- Checks whether files end with a new line. -->
@@ -20,6 +27,9 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
<module name="FileLength"/>
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
@@ -43,6 +53,8 @@
<module name="TreeWalker">
+ <module name="SuppressWarningsHolder"/>
+
<!-- Checks for Naming Conventions. -->
<!-- See http://checkstyle.sf.net/config_naming.html -->
<module name="ConstantName"/>
@@ -64,9 +76,6 @@
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
- <module name="LineLength">
- <property name="max" value="120"/>
- </module>
<module name="MethodLength">
<property name="max" value="200"/>
</module>