Clean up Codacy Lizard config (drop composeUi exclusion, fix engine casing) (#515)

This commit is contained in:
Adam Brown 2026-05-28 20:29:07 -08:00 • committed by GitHub
parent 57ec00c90c
commit b4c3de3728
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,10 +35,11 @@ exclude_paths:
engines:
# Lizard's language-agnostic complexity metrics (NLOC, CCN, parameter count)
# don't map well to Jetpack Compose composables — long declarative UI
# functions and many composable parameters are idiomatic. Disable Lizard
# for composeUi entirely; detekt still enforces complexity on this code.
Lizard:
# don't map well to Jetpack Compose widgets — long declarative UI functions
# and many composable parameters are idiomatic. detekt still enforces
# complexity on this code.
# NOTE: engine names must be lowercase (`lizard`, not `Lizard`) — an
# unrecognized engine key makes Codacy mis-handle the whole engines block.
lizard:
exclude_paths:
- 'composeUi/**'
- 'android/src/main/kotlin/**/widgets/**'