summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/detekt/detekt.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml
index a5b1129..6d7c04f 100644
--- a/config/detekt/detekt.yml
+++ b/config/detekt/detekt.yml
@@ -14,6 +14,12 @@ style:
active: false # this codebase deliberately doesn't use TODO/FIXME markers (see CLAUDE.md
# "why these checks") -- nothing to forbid.
+complexity:
+ TooManyFunctions:
+ 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.
+
naming:
FunctionNaming:
ignoreAnnotated: ["Composable"] # Jetpack Compose's own naming convention is PascalCase for