Is there an easy way to remove/disable all detekt ...
# detekt
c
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
Formatting is a plugin of detekt. Just don't include it.
c
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.
let me try to find an example
a
there is also detekt related style rule subsets you can also disable that subset
Copy code
style:
  active: false
c
ooh. maybe thats what i was looking for.
334 Views