AdamMc331 / AdamMc331/AndroidAppTemplate
Setup Detekt Baseline for Incremental Rule Enforcement
- Dominant language
- Kotlin
- Stars
- 306
- Forks
- 23
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 20
Description
### **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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.