https://kotlinlang.org logo
Title
d

dnowak

03/29/2023, 2:28 PM
Hi, is it possible to define separate rules for subsets of sources? My case is that I have some part of the code that should be purely functional and checked with https://github.com/neeffect/kure-potlin, the rest is “impure” and should follow general Kotlin rules. Is it possible?
m

mkrussel

03/29/2023, 2:36 PM
Depending on the structure of your code base, you could use exclude and include paths. https://detekt.dev/docs/introduction/configurations/
d

dnowak

03/29/2023, 2:43 PM
Thank you, I was lazy and only looked at the configuration of Gradle task… 😊