I'm not sure what I'm doing wrong but I cannot get baselines to work with gradle.
I ran the
detektBaseline
task. It generated a
detekt-baseline.xml
file, but when I run
detekt
again, all the errors are reported. The warnings are from a custom Rule I created, so it is possible that there is something wrong with how I reported it.
It is suppressing some of the warnings but not all. I'm triggering warnings for all
@property
tags in class documentation. The baseline includes all the ones found, but it is only suppressing the last one in a given class documentation block. This seems to be a bug.
g
gammax
03/15/2022, 8:03 PM
Yes this looks like a bug to me. Could you provide a reproducer?