Enable detekt rules SuspendFunSwallowedCancellation and SuspendFunWithCoroutineScopeReceiver.

This commit is contained in:
Benoit Marty
2023-07-26 10:48:38 +02:00
parent 140271069c
commit 03cefb2c79

View File

@@ -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