forked from uschi2000/atlasdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atlasdb_checkstyle_rules.xml
executable file
·41 lines (39 loc) · 1.54 KB
/
atlasdb_checkstyle_rules.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<!--
If you set the basedir property below, then all reported file
names will be relative to the specified directory. See
http://checkstyle.sourceforge.net/5.x/config.html#Checker
<property name="basedir" value="${basedir}"/>
-->
<module name="TreeWalker">
<!-- Checks for imports -->
<!-- See http://checkstyle.sf.net/config_import.html -->
<module name="AvoidStarImport"/>
<module name="RedundantImport"/>
<module name="ImportOrder">
<!-- The ordering on the groups should match
the ordering in eclipse's preferences menu
at Java->Code Style->Organize Imports -->
<!-- eclipse ordering that seems to work with this:
(static java)
(static javax)
(static org)
(static com)
(static *)
java
javax
org
com
*
-->
<property name="groups" value="java,javax,org,com"/>
<!-- statics on top! -->
<property name="option" value="top"/>
<property name="ordered" value="true"/>
</module>
</module>
</module>