Skip to content

Commit 862318c

Browse files
whymmisaochan
authored andcommitted
Bump max line length to 140 characters in Checkstyle rules (#1590)
Fixes #465
1 parent 32d45b2 commit 862318c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

script/style/checkstyle.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
Modified from https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml.
88
Modifications are:
99
- doubled each value in Indentation
10+
- exceptions for Butter Knife and Espresso
11+
- larger (max)LineLength
1012
1113
Checkstyle configuration that checks the Google coding conventions from Google Java Style
1214
that can be found at https://google.github.io/styleguide/javaguide.html.
@@ -44,7 +46,7 @@
4446
<property name="allowNonPrintableEscapes" value="true"/>
4547
</module>
4648
<module name="LineLength">
47-
<property name="max" value="100"/>
49+
<property name="max" value="140"/>
4850
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
4951
</module>
5052
<module name="AvoidStarImport"/>
@@ -56,7 +58,7 @@
5658
</module>
5759
<module name="NeedBraces"/>
5860
<module name="LeftCurly">
59-
<property name="maxLineLength" value="100"/>
61+
<property name="maxLineLength" value="140"/>
6062
</module>
6163
<module name="RightCurly">
6264
<property name="id" value="RightCurlySame"/>

0 commit comments

Comments
 (0)