diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/detekt/detekt.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/detekt/detekt.yml b/config/detekt/detekt.yml index 8e94ed5..baea318 100644 --- a/config/detekt/detekt.yml +++ b/config/detekt/detekt.yml @@ -17,6 +17,12 @@ style: ForbiddenComment: active: false # this codebase deliberately doesn't use TODO/FIXME markers (see CLAUDE.md # "why these checks") -- nothing to forbid. + UnusedImports: + active: true # off in detekt's defaults, which is how 71 dead imports accumulated across + # nine files -- EpisodeActions.kt was eleven lines of data class under forty of them, + # Scaffold and SnackbarHost and LazyColumn included, left behind when the screens were + # split per file. An import list is the first thing read to work out what a file does, so a + # stale one actively misleads. Kotlin only warns, so nothing enforced it. complexity: TooManyFunctions: |
