Enable detekt rules SuspendFunSwallowedCancellation and SuspendFunWithCoroutineScopeReceiver.
This commit is contained in:
parent
bd0031445e
commit
17155a7426
1 changed files with 9 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue