mirror of
https://github.com/wgtunnel/Nucleus.git
synced 2026-10-09 14:40:54 -07:00
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.