mirror of
https://github.com/Darkrock-Studios/hammer-editor.git
synced 2026-10-19 01:31:24 +00:00
Clean up Codacy Lizard config (drop composeUi exclusion, fix engine casing) (#515)
This commit is contained in:
parent
57ec00c90c
commit
b4c3de3728
1 changed files with 6 additions and 5 deletions
11
.codacy.yaml
11
.codacy.yaml
|
|
@ -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/**'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue