AdamMc331 / AdamMc331/AndroidAppTemplate
Setup Detekt Baseline for Incremental Rule Enforcement
- 主要语言
- Kotlin
- 星标
- 306
- 派生
- 23
- 平均合并
- 7 小时 12 分钟
- 30 天内合并 PR
- 20
描述
### **Body:**
We need to set up a **Detekt baseline** in the project to facilitate incremental rule enforcement. This approach will allow us to gradually enable rules and fix existing issues over time.
---
### **Steps to Implement:**
1. Create a baseline for Detekt using the `DetektCreateBaselineTask`.
2. Store the baseline file under `config/detekt/baseline.xml`.
3. Ensure Detekt uses the baseline file for analysis and only reports **new issues**.
4. Configure a task to generate/update the baseline when needed.
---
### **Goal:**
- Gradually fix existing issues while enforcing Detekt rules for new code changes.
---
### **Tasks:**
- [ ] Add the baseline configuration to the Detekt setup.
- [ ] Verify that Detekt analysis passes using the new baseline.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。