diff --git a/android/config/detekt.yml b/android/config/detekt.yml index aef9b214..a634ab18 100644 --- a/android/config/detekt.yml +++ b/android/config/detekt.yml @@ -11,3 +11,11 @@ naming: FunctionNaming: ignoreAnnotated: - "Composable" + +complexity: + # Room DAO interfaces accumulate one method per query and naturally + # exceed the default 11-function threshold. The rule still applies to + # non-DAO interfaces where >11 methods IS a smell worth flagging. + TooManyFunctions: + ignoreAnnotated: + - "Dao"