https://kotlinlang.org logo
#detekt
Title
l

Luka Štorek

11/29/2021, 12:40 PM
Hey, one quick question should detekt run formatting automatically if i have autoCorrect = true when i run gradlew detekt?
g

gammax

11/29/2021, 12:43 PM
Technically yes.
l

Luka Štorek

11/29/2021, 12:45 PM
Okay thanks for answer gotta dive deeper where it went wrong since it seems its not working in my case 🙂 Also great talk at dcldn, was there at a talk and now implementing Detekt in our codebase 😉 🙂
🚀 1
❤️ 1
g

gammax

11/29/2021, 1:17 PM
Thanks for the feedback 🙏
Have you added the
detekt-formatting
dependency inside your gradle file?
l

Luka Štorek

11/29/2021, 1:38 PM
Added it in subprojects{}
3 Views