Этап 1: detekt (статанализ + ktlint-форматирование) с baseline
- detekt 1.23.8 применён ко всем НАШИМ модулям (vendor-форк исключён), +formatting-ruleset (обёртка ktlint). Совместим с Kotlin 2.3 (проверено). - config/detekt/detekt.yml — настройки под наш код (LongMethod 120, MaxLine 140, MagicNumber off — dp/цвета отдельно, FunctionNaming off — @Composable Заглавные). - detekt-baseline.xml по модулям: ~403 текущих замечаний зафиксированы → detekt зелёный, дальше ловит только НОВЫЕ. detekt в CI (ci.yml verify). Проверено: detektBaseline + detekt BUILD SUCCESSFUL.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<SmellBaseline>
|
||||
<ManuallySuppressedIssues/>
|
||||
<CurrentIssues>
|
||||
<ID>ArgumentListWrapping:FilesDao.kt$FilesDao$("SELECT * FROM files WHERE serverUrl = :serverUrl AND username = :username ORDER BY isDirectory DESC, name ASC")</ID>
|
||||
<ID>MaximumLineLength:FilesDao.kt$FilesDao$ </ID>
|
||||
</CurrentIssues>
|
||||
</SmellBaseline>
|
||||
Reference in New Issue
Block a user