mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
Bump max line length to 140 characters in Checkstyle rules (#1590)
Fixes #465
This commit is contained in:
parent
32d45b2687
commit
862318c578
1 changed files with 4 additions and 2 deletions
|
|
@ -7,6 +7,8 @@
|
|||
Modified from https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml.
|
||||
Modifications are:
|
||||
- doubled each value in Indentation
|
||||
- exceptions for Butter Knife and Espresso
|
||||
- larger (max)LineLength
|
||||
|
||||
Checkstyle configuration that checks the Google coding conventions from Google Java Style
|
||||
that can be found at https://google.github.io/styleguide/javaguide.html.
|
||||
|
|
@ -44,7 +46,7 @@
|
|||
<property name="allowNonPrintableEscapes" value="true"/>
|
||||
</module>
|
||||
<module name="LineLength">
|
||||
<property name="max" value="100"/>
|
||||
<property name="max" value="140"/>
|
||||
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
|
||||
</module>
|
||||
<module name="AvoidStarImport"/>
|
||||
|
|
@ -56,7 +58,7 @@
|
|||
</module>
|
||||
<module name="NeedBraces"/>
|
||||
<module name="LeftCurly">
|
||||
<property name="maxLineLength" value="100"/>
|
||||
<property name="maxLineLength" value="140"/>
|
||||
</module>
|
||||
<module name="RightCurly">
|
||||
<property name="id" value="RightCurlySame"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue