summaryrefslogtreecommitdiff
path: root/backend/config/checkstyle/checkstyle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'backend/config/checkstyle/checkstyle.xml')
-rw-r--r--backend/config/checkstyle/checkstyle.xml113
1 files changed, 0 insertions, 113 deletions
diff --git a/backend/config/checkstyle/checkstyle.xml b/backend/config/checkstyle/checkstyle.xml
deleted file mode 100644
index b3a6c544..00000000
--- a/backend/config/checkstyle/checkstyle.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
- "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
-
-<module name="Checker">
- <property name="severity" value="warning"/>
-
- <module name="FileTabCharacter">
- <property name="eachLine" value="true"/>
- </module>
- <module name="NewlineAtEndOfFile"/>
-
- <module name="TreeWalker">
- <property name="tabWidth" value="4"/>
- <module name="Indentation">
- <property name="caseIndent" value="0"/>
- <property name="basicOffset" value="4"/>
- <property name="braceAdjustment" value="0"/>
- <property name="arrayInitIndent" value="8"/>
- </module>
- <module name="LineLength">
- <property name="max" value="121"/>
- <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
- </module>
- <module name="ArrayTypeStyle"/>
- <module name="CovariantEquals"/>
- <module name="AvoidStarImport">
- <property name="allowClassImports" value="false"/>
- <property name="allowStaticMemberImports" value="false"/>
- <property name="excludes" value="java.io,java.net,java.lang.Math,javafx.scene.control"/>
- </module>
- <module name="UnusedImports"/>
- <module name="ClassTypeParameterName">
- <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
- </module>
- <module name="EmptyBlock">
- <property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
- <property name="option" value="TEXT"/>
- </module>
- <module name="FallThrough"/>
- <module name="GenericWhitespace"/>
-
- <module name="NoFinalizer"/>
- <module name="UpperEll"/>
- <module name="IllegalTokenText">
- <property name="message" value="Avoid using corresponding octal or Unicode escape."/>
- <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
- <property name="format"
- value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
- </module>
- <module name="RedundantModifier"/>
- <module name="ModifierOrder"/>
- <module name="MultipleVariableDeclarations"/>
- <module name="EmptyStatement"/>
- <module name="OneStatementPerLine"/>
- <module name="OperatorWrap">
- <property name="tokens"
- value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
- <property name="option" value="NL"/>
- </module>
- <module name="NeedBraces"/>
- <module name="LeftCurly"/>
- <module name="RightCurly">
- <property name="tokens"
- value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"/>
- <property name="option" value="alone"/>
- </module>
-
- <module name="WhitespaceAround">
- <property name="allowEmptyConstructors" value="true"/>
- <property name="allowEmptyMethods" value="true"/>
- <property name="allowEmptyTypes" value="true"/>
- </module>
- <module name="NoWhitespaceBefore">
- <property name="tokens" value="COMMA, SEMI, POST_INC, POST_DEC"/>
- </module>
- <module name="MethodParamPad"/>
-
-
- <module name="PackageName">
- <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
- </module>
- <module name="OuterTypeFilename"/>
- <module name="TypeName"/>
- <module name="MemberName">
- <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
- </module>
- <module name="MethodName">
- <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
- </module>
- <module name="ParameterName">
- <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
- </module>
- <module name="MethodTypeParameterName">
- <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
- </module>
- <module name="LocalVariableName">
- <property name="tokens" value="VARIABLE_DEF"/>
- <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
- </module>
-
- <module name="JavadocMethod">
- <property name="scope" value="public"/>
- <property name="allowedAnnotations" value="Override,FXML"/>
- <property name="allowThrowsTagsForSubclasses" value="true"/>
- <property name="allowMissingParamTags" value="false"/>
- <property name="allowMissingReturnTag" value="true"/>
- <property name="allowMissingThrowsTags" value="false"/>
- <property name="allowMissingJavadoc" value="true"/>
- <property name="ignoreMethodNamesRegex" value=".*Property"/>
- </module>
- </module>
-</module>
bgstack15