Is there any reason to expect `detektBaselineMain`...
# detekt
j
Is there any reason to expect
detektBaselineMain
and
detektBaseline
to return different results? We're seeing that on our codebase. Specifically, in the sense that rules we've turned off are actually turned off in
detektBaseline
but do not seem to be turned off in
detektBaselineMain
g
Mmm that's odd. Sounds like a bug at first. Could you create a small reproducer?
j
I'll try to do that tomorrow 🙂
e
Does
detektBaselineMain
uses type resolution and the other doesn't?
g
Yes that's correct. BaselineMain will use type resolution. However if you disable a rule in the config, that configuration should be honored regardless