# Per-rule overrides layered on top of detekt's defaults # (`buildUponDefaultConfig = true` in the :app `detekt {}` block). # # The pre-2.0 `build:` top-level was removed; failure-on-finding is controlled by # the Gradle DSL's `failOnSeverity` option instead. naming: # Composables conventionally use PascalCase function names. Matches every # mainstream Compose codebase, and Minstrel's config for the same reason. FunctionNaming: ignoreAnnotated: - "Composable" style: # The generated uniffi bindings are excluded at the Gradle level, but a # magic-number complaint about a Compose dp value is noise rather than a smell. MagicNumber: ignoreAnnotated: - "Composable"