Don't run the diktatcheck task in every build, and edit Formatting.yml even more
This commit is contained in:
parent
1bd054c7c5
commit
4b8b945f28
|
@ -21,9 +21,13 @@
|
|||
enabled: true
|
||||
configuration:
|
||||
extendedIndentOfParameters: false
|
||||
extendedIndentBeforeDot: false
|
||||
alignedParameters: true
|
||||
indentationSize: 4
|
||||
|
||||
- name: WRONG_NEWLINES
|
||||
enabled: false
|
||||
|
||||
- name: NO_BRACES_IN_CONDITIONALS_AND_LOOPS
|
||||
enabled: false
|
||||
|
||||
|
@ -32,7 +36,26 @@
|
|||
configuration:
|
||||
ignoreEnums: true
|
||||
ignoreExtensionFunctions: true
|
||||
ignorePropertyDeclaration: true
|
||||
ignoreConstantDeclaration: true
|
||||
destructuringDeclaration: false
|
||||
|
||||
- name: LONG_NUMERICAL_VALUES_SEPARATED
|
||||
enabled: false
|
||||
|
||||
- name: ENUMS_SEPARATED
|
||||
enabled: false
|
||||
|
||||
- name: COMPLEX_EXPRESSION
|
||||
enabled: false
|
||||
|
||||
- name: AVOID_USING_UTILITY_CLASS
|
||||
enabled: false
|
||||
|
||||
- name: TOO_MANY_PARAMETERS
|
||||
enabled: true
|
||||
configuration:
|
||||
maxParameterListSize: 12
|
||||
- name: CLASS_SHOULD_NOT_BE_ABSTRACT
|
||||
enabled: false
|
||||
|
||||
|
@ -42,6 +65,22 @@
|
|||
- name: FUNCTION_NAME_INCORRECT_CASE
|
||||
enabled: false
|
||||
|
||||
- name: FILE_NAME_INCORRECT
|
||||
enabled: false
|
||||
|
||||
- name: FILE_WILDCARD_IMPORTS
|
||||
enabled: true
|
||||
configuration:
|
||||
allowedWildcards: "com.mojang.blaze3d.vertex.*"
|
||||
- name: HEADER_MISSING_IN_NON_SINGLE_CLASS_FILE
|
||||
enabled: false
|
||||
|
||||
- name: VARIABLE_HAS_PREFIX
|
||||
enabled: false
|
||||
|
||||
- name: IDENTIFIER_LENGTH
|
||||
enabled: false
|
||||
|
||||
- name: CONSTANT_UPPERCASE
|
||||
enabled: false
|
||||
|
||||
|
@ -51,5 +90,8 @@
|
|||
- name: MISSING_KDOC_CLASS_ELEMENTS
|
||||
enabled: false
|
||||
|
||||
- name: KDOC_NO_CONSTRUCTOR_PROPERTY
|
||||
enabled: false
|
||||
|
||||
- name: MISSING_KDOC_ON_FUNCTION
|
||||
enabled: false
|
|
@ -152,7 +152,6 @@ subprojects {
|
|||
input.set(shrinkedJar)
|
||||
if (!archiveFileName.get().contains("common")) destinationDirectory.set(file("$rootDir/remappedJars"))
|
||||
}
|
||||
build.get().dependsOn(diktatCheck)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue