AdamMc331 / AdamMc331/AndroidAppTemplate

Setup Detekt Baseline for Incremental Rule Enforcement

オープン
#267 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Kotlin
スター
306
フォーク
23
平均マージ
7時間 12分
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。