Hideout/detekt.yml

139 lines
2.1 KiB
YAML
Raw Normal View History

2023-04-29 14:57:25 +00:00
style:
ClassOrdering:
active: true
MandatoryBracesIfStatements:
active: true
MandatoryBracesLoops:
active: true
MultilineLambdaItParameter:
2023-04-29 16:25:54 +00:00
active: false
2023-04-29 14:57:25 +00:00
UseEmptyCounterpart:
active: true
2023-04-29 16:25:54 +00:00
ExpressionBodySyntax:
active: true
WildcardImport:
active: false
ReturnCount:
active: false
MagicNumber:
ignorePropertyDeclaration: true
ForbiddenComment:
active: false
2023-04-29 14:57:25 +00:00
complexity:
CognitiveComplexMethod:
active: true
ComplexCondition:
active: true
ComplexInterface:
active: true
2023-04-29 16:25:54 +00:00
threshold: 30
2023-04-29 14:57:25 +00:00
LabeledExpression:
2023-04-29 16:25:54 +00:00
active: false
2023-04-29 14:57:25 +00:00
NamedArguments:
active: true
2023-04-29 16:25:54 +00:00
ignoreArgumentsMatchingNames: true
threshold: 5
2023-04-29 14:57:25 +00:00
NestedBlockDepth:
active: true
NestedScopeFunctions:
active: true
ReplaceSafeCallChainWithRun:
active: true
StringLiteralDuplication:
2023-04-29 16:25:54 +00:00
active: false
LongParameterList:
constructorThreshold: 10
TooManyFunctions:
ignoreDeprecated: true
ignoreOverridden: true
ignorePrivate: true
2023-04-29 14:57:25 +00:00
exceptions:
ExceptionRaisedInUnexpectedLocation:
active: true
NotImplementedDeclaration:
active: true
ObjectExtendsThrowable:
active: true
ThrowingExceptionInMain:
active: true
ThrowingExceptionsWithoutMessageOrCause:
active: true
ThrowingNewInstanceOfSameException:
active: true
TooGenericExceptionCaught:
active: true
TooGenericExceptionThrown:
active: true
formatting:
Indentation:
indentSize: 4
2023-04-29 16:25:54 +00:00
NoWildcardImports:
active: false
2023-04-29 14:57:25 +00:00
naming:
FunctionMaxLength:
active: true
FunctionMinLength:
active: true
LambdaParameterNaming:
active: true
2023-04-29 16:25:54 +00:00
ConstructorParameterNaming:
excludes:
- "**/domain/model/ap/*"
ignoreOverridden: true
VariableNaming:
excludes:
- "**/domain/model/ap/*"
2023-04-29 14:57:25 +00:00
performance:
UnnecessaryPartOfBinaryExpression:
active: true
UnnecessaryTemporaryInstantiation:
active: true
potential-bugs:
CastToNullableType:
active: true
DontDowncastCollectionTypes:
active: true
ElseCaseInsteadOfExhaustiveWhen:
active: true