element-android/tools/detekt/detekt.yml

72 lines
1.4 KiB
YAML
Raw Normal View History

# Default rules: https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
style:
MaxLineLength:
# Default is 120
maxLineLength: 160
MagicNumber:
active: false
ReturnCount:
active: false
UnnecessaryAbstractClass:
2022-05-12 18:16:18 +03:00
active: false
FunctionOnlyReturningConstant:
active: false
UnusedPrivateMember:
# TODO Enable it
active: false
ThrowsCount:
active: false
LoopWithTooManyJumpStatements:
active: false
empty-blocks:
EmptyFunctionBlock:
active: false
EmptySecondaryConstructor:
active: false
potential-bugs:
ImplicitDefaultLocale:
active: false
2022-05-12 18:05:19 +03:00
exceptions:
TooGenericExceptionCaught:
2022-05-12 18:16:18 +03:00
active: false
SwallowedException:
active: false
ThrowingExceptionsWithoutMessageOrCause:
active: false
TooGenericExceptionThrown:
active: false
complexity:
TooManyFunctions:
active: false
LongMethod:
active: false
LongParameterList:
active: false
ComplexMethod:
active: false
NestedBlockDepth:
active: false
ComplexCondition:
active: false
LargeClass:
active: false
naming:
FunctionParameterNaming:
# TODO Enable it
active: false
VariableNaming:
# TODO Enable it
active: false
ConstructorParameterNaming:
# TODO Enable it
active: false
TopLevelPropertyNaming:
# TODO Enable it
2022-05-12 18:05:19 +03:00
active: false