Skip to content

Commit

Permalink
Added coroutines and empty-blocks rule sets
Browse files Browse the repository at this point in the history
  • Loading branch information
imashnake0 committed Jan 21, 2024
1 parent 33d2ce3 commit a73ef00
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions config/detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a73ef00

Please sign in to comment.