jellyfin-android/detekt.yml
Max Rumpf eedea815db
Fix or suppress detekt warnings and code style issues (#412)
* Fix or suppress detekt warnings and code style issues

* Address review feedback
2021-06-04 22:03:16 +02:00

43 lines
816 B
YAML

build:
maxIssues: 0
complexity:
ComplexMethod:
ignoreSimpleWhenEntries: true
LongParameterList:
constructorThreshold: 10
functionThreshold: 10
TooManyFunctions:
thresholdInFiles: 16
thresholdInClasses: 20
thresholdInInterfaces: 8
thresholdInObjects: 16
thresholdInEnums: 8
ignoreOverridden: true
ignoreDeprecated: true
exceptions:
SwallowedException:
active: false
naming:
PackageNaming:
# Package names must be lowercase letters
packagePattern: '[a-z]+(\.[a-z]+)*'
performance:
SpreadOperator:
active: false
style:
ForbiddenComment:
# Allow TODOs
values: [ 'FIXME:', 'STOPSHIP:' ]
LoopWithTooManyJumpStatements:
maxJumpCount: 2
MaxLineLength:
maxLineLength: 200
ReturnCount:
excludeGuardClauses: true
max: 3