diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index 364b2eea..fb735a7a 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -30,6 +30,48 @@ complexity: TooManyFunctions: active: true +coroutines: + GlobalCoroutineUsage: + active: true + InjectDispatcher: + active: true + RedundantSuspendModifier: + active: true + SleepInsteadOfDelay: + active: true + +empty-blocks: + EmptyCatchBlock: + active: true + EmptyClassBlock: + active: true + EmptyDefaultConstructor: + active: true + EmptyDoWhileBlock: + active: true + EmptyElseBlock: + active: true + EmptyFinallyBlock: + active: true + EmptyForBlock: + active: true + EmptyFunctionBlock: + active: true + EmptyIfBlock: + active: true + EmptyInitBlock: + active: true + EmptyKtFile: + active: true + EmptySecondaryConstructor: + active: true + EmptyTryBlock: + active: true + EmptyWhenBlock: + active: true + EmptyWhileBlock: + active: true + style: UnusedImports: active: true