diff options
Diffstat (limited to 'config/detekt')
| -rw-r--r-- | config/detekt/detekt.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index 6d7c04f..3d282f5 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -19,6 +19,9 @@ complexity: thresholdInInterfaces: 20 # Room DAOs are broad by nature -- each query is a method, and # splitting one table's access across several interfaces to satisfy a count would make the # data layer harder to follow, not easier. + thresholdInClasses: 20 # same for the view model: it is a flat list of one-line user actions + # (enqueue, download, mark played), and splitting it by count rather than by meaning would + # scatter related behaviour across types for no gain. naming: FunctionNaming: |
