Join Slack
Powered by
Is there an easy way to remove/disable all detekt ...
# detekt
c
Colton Idle
06/24/2023, 1:28 PM
Is there an easy way to remove/disable all detekt "formatting" rules? I use ktfmt for formatting and sometimes detekt and ktfmt trample each other.
b
Brais Gabin
06/24/2023, 1:36 PM
Formatting is a plugin of detekt. Just don't include it.
c
Colton Idle
06/24/2023, 1:59 PM
interesting. i dont think i added any formatting plugins yet detekt still gives me some formatting warnings that i had to disable 1 by one.
Colton Idle
06/24/2023, 1:59 PM
let me try to find an example
a
Atul Gupta
06/28/2023, 6:39 AM
there is also detekt related style rule subsets you can also disable that subset
Copy code
style: active: false
c
Colton Idle
06/28/2023, 1:33 PM
ooh. maybe thats what i was looking for.
334
Views
Open in Slack
Previous
Next