diff options
Diffstat (limited to 'tools/checkstyle.xml')
-rw-r--r-- | tools/checkstyle.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/checkstyle.xml b/tools/checkstyle.xml index 26a3f8c02..c99f858ab 100644 --- a/tools/checkstyle.xml +++ b/tools/checkstyle.xml @@ -9,10 +9,9 @@ page at http://checkstyle.sourceforge.net/config.html --> <module name="OpenPgpChecker"> - <!--<module name="SuppressionFilter"> + <module name="SuppressionFilter"> <property name="file" value="tools/suppressions.xml"/> - </module>--> - + </module> <module name="RegexpSingleline"> <!-- Requires a copyright notice in each file. Code intended to be open-sourced may have a multi-line copyright @@ -32,6 +31,13 @@ page at http://checkstyle.sourceforge.net/config.html --> <property name="severity" value="error"/> </module> + + <module name="RegexpSingleline"> + <property name="format" value="^import.*\*.*$"/> + <property name="message" value="Wildcard imports are not ideal."/> + <property name="severity" value="warning"/> + </module> + <module name="FileTabCharacter"> <!-- Checks that there are no tab characters in the file. --> |