Add checkstyle plugin.

This commit is contained in:
akwizgran
2021-11-04 15:48:06 +00:00
parent 8a4fe7ca49
commit f4d885b647
15 changed files with 107 additions and 0 deletions

View 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>