|
2 | 2 | <!DOCTYPE module PUBLIC |
3 | 3 | "-//Puppy Crawl//DTD Check Configuration 1.3//EN" |
4 | 4 | "http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd"> |
5 | | - |
6 | | -<!-- Originally designed by:--> |
7 | 5 | <!-- |
8 | | - Checkstyle configuration that checks the Google coding conventions from Google Java Style |
9 | | - that can be found at https://google.github.io/styleguide/javaguide.html. |
10 | | -
|
11 | | - Checkstyle is very configurable. Be sure to read the documentation at |
12 | | - http://checkstyle.sf.net (or in your downloaded distribution). |
13 | | -
|
14 | | - To completely disable a check, just comment it out or delete it from the file. |
15 | | -
|
16 | | - Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov. |
| 6 | + Checkstyle configuration that checks the Appium coding conventions (partially based on Google Java Style |
| 7 | + that can be found at https://google.github.io/styleguide/javaguide.html). |
17 | 8 | --> |
18 | | -<!-- Modified by: Sergey Tikhomirov--> |
19 | 9 |
|
20 | 10 | <module name = "Checker"> |
21 | 11 | <property name="charset" value="UTF-8"/> |
|
41 | 31 | <property name="allowByTailComment" value="true"/> |
42 | 32 | <property name="allowNonPrintableEscapes" value="true"/> |
43 | 33 | </module> |
44 | | - <module name="AvoidStarImport"> |
45 | | - <property name="severity" value="warning"/> |
46 | | - </module> |
| 34 | + <module name="AvoidStarImport"/> |
| 35 | + <module name="CustomImportOrder"> |
| 36 | + <property name="customImportOrderRules" value="THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS###STANDARD_JAVA_PACKAGE###STATIC"/> |
| 37 | + <property name="specialImportsRegExp" value="^javax\."/> |
| 38 | + <property name="standardPackageRegExp" value="^java\."/> |
| 39 | + <property name="sortImportsInGroupAlphabetically" value="true"/> |
| 40 | + <property name="separateLineBetweenGroups" value="false"/> |
| 41 | + </module> |
| 42 | + <module name="RedundantImport"/> |
| 43 | + <module name="UnusedImports"/> |
47 | 44 | <module name="OneTopLevelClass"/> |
48 | 45 | <module name="NoLineWrap"/> |
49 | 46 | <module name="EmptyBlock"> |
|
0 commit comments