Hideout/detekt.yml

170 lines
2.5 KiB
YAML
Raw Normal View History

build:
maxIssues: 20
weights:
Indentation: 0
2023-09-25 08:27:42 +00:00
MagicNumber: 0
2023-10-05 03:23:11 +00:00
InjectDispatcher: 0
2023-10-11 02:02:57 +00:00
EnumEntryNameCase: 0
2023-10-23 04:39:36 +00:00
ReplaceSafeCallChainWithRun: 0
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-05-20 10:11:14 +00:00
ThrowsCount:
active: false
UseCheckOrError:
active: false
UseRequire:
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
LongMethod:
active: true
excludes:
- "**/test/**"
2023-04-29 14:57:25 +00:00
exceptions:
ExceptionRaisedInUnexpectedLocation:
active: true
NotImplementedDeclaration:
2023-05-22 06:20:15 +00:00
active: false
2023-04-29 14:57:25 +00:00
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
excludes:
- "**/test/**"
2023-04-29 14:57:25 +00:00
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
2023-09-30 04:59:45 +00:00
HasPlatformType:
active: false
2023-10-11 02:02:57 +00:00
coroutines:
RedundantSuspendModifier:
active: false