Files
Elie Gambache 6fe04b907e build(detekt): enforce KDoc on public classes and functions
UndocumentedPublicClass and UndocumentedPublicFunction were off, so KDoc
on public API was entirely voluntary and coverage drifted. Turn both on
and grandfather the existing 419 gaps in per-module detekt-baseline.xml
files, which detekt picks up automatically: pre-existing gaps stay
green, any new undocumented public class or function fails the build.

UndocumentedPublicProperty stays off — it reports 7618 hits, 6493 of
them generated constants in sf-symbols and freedesktop-icons.

Also flip config.warningsAsErrors, which governs detekt's own config
validation, so a deprecated or unknown config key fails instead of
warning as detekt is upgraded.
2026-08-09 08:05:08 +03:00
..