Browse Source

Enable detekt rules `SuspendFunSwallowedCancellation` and `SuspendFunWithCoroutineScopeReceiver`.

pull/967/head
Benoit Marty 1 year ago
parent
commit
17155a7426
  1. 9
      tools/detekt/detekt.yml

9
tools/detekt/detekt.yml

@ -40,6 +40,15 @@ style: @@ -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

Loading…
Cancel
Save