diff options
Diffstat (limited to 'gradle/checkstyle.xml')
-rw-r--r-- | gradle/checkstyle.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gradle/checkstyle.xml b/gradle/checkstyle.xml index f84df396d..72950c7bd 100644 --- a/gradle/checkstyle.xml +++ b/gradle/checkstyle.xml @@ -5,7 +5,10 @@ <module name="Checker"> - <suppress files="[\\/]protobuf[\\/]" checks="[a-zA-Z0-9]*" /> + <module name="SuppressionSingleFilter"> + <property name="files" value="[/\\]protobuf[/\\]"/> + <property name="checks" value=".*"/> + </module> <!--<property name="fileExtensions" value="java, properties, xml"/>--> @@ -22,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 --> @@ -66,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> |