mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 05:09:53 +01:00
Add checkstyle plugin.
This commit is contained in:
21
config/checkstyle/checkstyle.xml
Normal file
21
config/checkstyle/checkstyle.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE module PUBLIC
|
||||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
|
||||
"https://checkstyle.org/dtds/configuration_1_3.dtd">
|
||||
<module name="Checker">
|
||||
<property name="tabWidth" value="4" />
|
||||
<property name="charset" value="UTF-8" />
|
||||
<module name="LineLength">
|
||||
<property name="fileExtensions" value="java" />
|
||||
<property name="max" value="100" />
|
||||
<property name="ignorePattern"
|
||||
value="^package.*|^import.*|a href|href|http://|https://|ftp://" />
|
||||
</module>
|
||||
<module name="TreeWalker">
|
||||
<module name="RegexpSinglelineJava">
|
||||
<property name="format" value="^\t* +\t*\S" />
|
||||
<property name="message"
|
||||
value="Line has leading space characters; indentation should be performed with tabs only." />
|
||||
<property name="ignoreComments" value="true" />
|
||||
</module>
|
||||
</module>
|
||||
</module>
|
||||
Reference in New Issue
Block a user