mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Detekt: Disable OptionalWhenBraces, even if deprecated and replaced by BracesOnWhenStatements. Cannot do what I want with BracesOnWhenStatements.
This commit is contained in:
committed by
Benoit Marty
parent
1af66783f8
commit
8babab5da9
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user