mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-25 06:25:40 +03:00
Replace deprecated Detekt configuration options
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
cb150da40f
commit
8febcdf8d8
1 changed files with 6 additions and 5 deletions
11
detekt.yml
11
detekt.yml
|
@ -69,7 +69,8 @@ complexity:
|
||||||
excludes: ['**/androidTest/**']
|
excludes: ['**/androidTest/**']
|
||||||
LongParameterList:
|
LongParameterList:
|
||||||
active: true
|
active: true
|
||||||
threshold: 6
|
functionThreshold: 6
|
||||||
|
constructorThreshold: 7
|
||||||
ignoreDefaultParameters: false
|
ignoreDefaultParameters: false
|
||||||
MethodOverloading:
|
MethodOverloading:
|
||||||
active: false
|
active: false
|
||||||
|
@ -333,7 +334,7 @@ potential-bugs:
|
||||||
active: false
|
active: false
|
||||||
LateinitUsage:
|
LateinitUsage:
|
||||||
active: false
|
active: false
|
||||||
excludeAnnotatedProperties: ""
|
ignoreAnnotated: []
|
||||||
ignoreOnClassesPattern: ""
|
ignoreOnClassesPattern: ""
|
||||||
UnconditionalJumpStatementInLoop:
|
UnconditionalJumpStatementInLoop:
|
||||||
active: false
|
active: false
|
||||||
|
@ -439,10 +440,10 @@ style:
|
||||||
active: false
|
active: false
|
||||||
UnderscoresInNumericLiterals:
|
UnderscoresInNumericLiterals:
|
||||||
active: false
|
active: false
|
||||||
acceptableDecimalLength: 5
|
acceptableLength: 5
|
||||||
UnnecessaryAbstractClass:
|
UnnecessaryAbstractClass:
|
||||||
active: false
|
active: false
|
||||||
excludeAnnotatedClasses: "dagger.Module"
|
ignoreAnnotated: ["dagger.Module"]
|
||||||
UnnecessaryApply:
|
UnnecessaryApply:
|
||||||
active: false
|
active: false
|
||||||
UnnecessaryInheritance:
|
UnnecessaryInheritance:
|
||||||
|
@ -462,7 +463,7 @@ style:
|
||||||
allowedNames: "(_|ignored|expected|serialVersionUID)"
|
allowedNames: "(_|ignored|expected|serialVersionUID)"
|
||||||
UseDataClass:
|
UseDataClass:
|
||||||
active: false
|
active: false
|
||||||
excludeAnnotatedClasses: ""
|
ignoreAnnotated: []
|
||||||
UtilityClassWithPublicConstructor:
|
UtilityClassWithPublicConstructor:
|
||||||
active: false
|
active: false
|
||||||
VarCouldBeVal:
|
VarCouldBeVal:
|
||||||
|
|
Loading…
Reference in a new issue