SnowyGUI/Formatting.yml

109 lines
2.1 KiB
YAML

- name: HEADER_MISSING_OR_WRONG_COPYRIGHT
enabled: false
- name: COMMENTED_OUT_CODE
enabled: true
- name: SAY_NO_TO_VAR
enabled: true
- name: TRAILING_COMMA
enabled: true
configuration:
valueArgument: false
valueParameter: true
collectionLiteral: true
- name: CUSTOM_GETTERS_SETTERS
enabled: false
- name: WRONG_INDENTATION
enabled: true
configuration:
extendedIndentOfParameters: false
extendedIndentBeforeDot: false
extendedIndentAfterOperators: false
alignedParameters: true
indentationSize: 4
- name: BRACES_BLOCK_STRUCTURE_ERROR
enabled: true
configuration:
closeBraceNewline: false
- name: EMPTY_BLOCK_STRUCTURE_ERROR
enabled: true
configuration:
allowEmptyBlocks: true
styleEmptyBlockWithNewline: false
- name: WRONG_NEWLINES
enabled: false
- name: NO_BRACES_IN_CONDITIONALS_AND_LOOPS
enabled: false
- name: MAGIC_NUMBER
enabled: true
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
- name: TYPEALIAS_NAME_INCORRECT_CASE
enabled: false
- 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
- name: MISSING_KDOC_TOP_LEVEL
enabled: false
- name: MISSING_KDOC_CLASS_ELEMENTS
enabled: false
- name: KDOC_NO_CONSTRUCTOR_PROPERTY
enabled: false
- name: MISSING_KDOC_ON_FUNCTION
enabled: false