I'm not sure what I'm doing wrong but I cannot get...
# detekt
m
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
Yes this looks like a bug to me. Could you provide a reproducer?
m
Ticket has the code for the Rule I created and a class that should show it.
g
If you could create a reproducer, it would really valuable
like a proper projct that I can checkout
m
I'll work on it