Browse Source

Merge pull request #1388 from vector-im/renovate/detekt

chore(deps): update dependency io.gitlab.arturbosch.detekt to v1.23.1
pull/1435/head
Benoit Marty 1 year ago committed by GitHub
parent
commit
7b9d2f903b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gradle/libs.versions.toml
  2. 8
      tools/detekt/detekt.yml

2
gradle/libs.versions.toml

@ -56,7 +56,7 @@ anvil = "2.4.8-1-8"
autoservice = "1.1.1" autoservice = "1.1.1"
# quality # quality
detekt = "1.23.0" detekt = "1.23.1"
dependencygraph = "0.12" dependencygraph = "0.12"
[libraries] [libraries]

8
tools/detekt/detekt.yml

@ -3,6 +3,8 @@
style: style:
AlsoCouldBeApply: AlsoCouldBeApply:
active: true active: true
OptionalWhenBraces:
active: false
CascadingCallWrapping: CascadingCallWrapping:
active: true active: true
includeElvis: true includeElvis: true
@ -124,7 +126,7 @@ potential-bugs:
allowExplicitReturnType: false allowExplicitReturnType: false
MissingPackageDeclaration: MissingPackageDeclaration:
active: true active: true
excludes: ['**/*.kts'] excludes: [ '**/*.kts' ]
NullCheckOnMutableProperty: NullCheckOnMutableProperty:
active: true active: true
NullableToStringCall: NullableToStringCall:
@ -173,7 +175,7 @@ naming:
active: true active: true
FunctionNaming: FunctionNaming:
active: true active: true
ignoreAnnotated: ['Composable'] ignoreAnnotated: [ 'Composable' ]
LambdaParameterNaming: LambdaParameterNaming:
active: true active: true
NonBooleanPropertyPrefixedWithIs: NonBooleanPropertyPrefixedWithIs:
@ -234,7 +236,7 @@ Compose:
active: true active: true
MultipleEmitters: MultipleEmitters:
active: true active: true
# You can optionally add your own composables here # You can optionally add your own composables here
# contentEmitters: MyComposable,MyOtherComposable # contentEmitters: MyComposable,MyOtherComposable
MutableParams: MutableParams:
active: true active: true

Loading…
Cancel
Save