Hideout/detekt.yml

180 lines
2.7 KiB
YAML
Raw Permalink Normal View History

build:
maxIssues: 20
weights:
Indentation: 0
2023-09-25 08:27:42 +00:00
MagicNumber: 0
2023-10-11 02:02:57 +00:00
EnumEntryNameCase: 0
2023-11-02 16:05:58 +00:00
VariableNaming: 0
NoNameShadowing: 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
VarCouldBeVal:
ignoreLateinitVar: true
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: false
2023-04-29 14:57:25 +00:00
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:
2024-06-17 13:47:36 +00:00
ignoreFunction:
- of
2023-04-29 14:57:25 +00:00
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
2023-12-12 08:52:58 +00:00
SpreadOperator:
active: false
2023-04-29 14:57:25 +00:00
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
InjectDispatcher:
active: false