diff options
Diffstat (limited to 'gradle')
-rw-r--r-- | gradle/checkstyle.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gradle/checkstyle.xml b/gradle/checkstyle.xml index d85100471..72950c7bd 100644 --- a/gradle/checkstyle.xml +++ b/gradle/checkstyle.xml @@ -5,6 +5,11 @@ <module name="Checker"> + <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 +25,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 --> @@ -64,9 +72,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> |