Enable detekt rules SuspendFunSwallowedCancellation and SuspendFunWithCoroutineScopeReceiver.
This commit is contained in:
parent
140271069c
commit
03cefb2c79
1 changed files with 9 additions and 0 deletions
|
|
@ -40,6 +40,15 @@ style:
|
||||||
UseCheckOrError:
|
UseCheckOrError:
|
||||||
active: true
|
active: true
|
||||||
|
|
||||||
|
coroutines:
|
||||||
|
GlobalCoroutineUsage:
|
||||||
|
# Keep false for now.
|
||||||
|
active: false
|
||||||
|
SuspendFunSwallowedCancellation:
|
||||||
|
active: true
|
||||||
|
SuspendFunWithCoroutineScopeReceiver:
|
||||||
|
active: true
|
||||||
|
|
||||||
empty-blocks:
|
empty-blocks:
|
||||||
EmptyFunctionBlock:
|
EmptyFunctionBlock:
|
||||||
active: false
|
active: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue