Enable detekt rules SuspendFunSwallowedCancellation and SuspendFunWithCoroutineScopeReceiver.
This commit is contained in:
@@ -40,6 +40,15 @@ style:
|
||||
UseCheckOrError:
|
||||
active: true
|
||||
|
||||
coroutines:
|
||||
GlobalCoroutineUsage:
|
||||
# Keep false for now.
|
||||
active: false
|
||||
SuspendFunSwallowedCancellation:
|
||||
active: true
|
||||
SuspendFunWithCoroutineScopeReceiver:
|
||||
active: true
|
||||
|
||||
empty-blocks:
|
||||
EmptyFunctionBlock:
|
||||
active: false
|
||||
|
||||
Reference in New Issue
Block a user