Detekt: Disable OptionalWhenBraces, even if deprecated and replaced by BracesOnWhenStatements. Cannot do what I want with BracesOnWhenStatements.
This commit is contained in:
parent
1af66783f8
commit
8babab5da9
1 changed files with 5 additions and 3 deletions
|
|
@ -3,6 +3,8 @@
|
|||
style:
|
||||
AlsoCouldBeApply:
|
||||
active: true
|
||||
OptionalWhenBraces:
|
||||
active: false
|
||||
CascadingCallWrapping:
|
||||
active: true
|
||||
includeElvis: true
|
||||
|
|
@ -124,7 +126,7 @@ potential-bugs:
|
|||
allowExplicitReturnType: false
|
||||
MissingPackageDeclaration:
|
||||
active: true
|
||||
excludes: ['**/*.kts']
|
||||
excludes: [ '**/*.kts' ]
|
||||
NullCheckOnMutableProperty:
|
||||
active: true
|
||||
NullableToStringCall:
|
||||
|
|
@ -173,7 +175,7 @@ naming:
|
|||
active: true
|
||||
FunctionNaming:
|
||||
active: true
|
||||
ignoreAnnotated: ['Composable']
|
||||
ignoreAnnotated: [ 'Composable' ]
|
||||
LambdaParameterNaming:
|
||||
active: true
|
||||
NonBooleanPropertyPrefixedWithIs:
|
||||
|
|
@ -234,7 +236,7 @@ Compose:
|
|||
active: true
|
||||
MultipleEmitters:
|
||||
active: true
|
||||
# You can optionally add your own composables here
|
||||
# You can optionally add your own composables here
|
||||
# contentEmitters: MyComposable,MyOtherComposable
|
||||
MutableParams:
|
||||
active: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue