Detekt: Disable OptionalWhenBraces, even if deprecated and replaced by BracesOnWhenStatements. Cannot do what I want with BracesOnWhenStatements.
This commit is contained in:
parent
5bf58745b0
commit
98ae8feb38
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue