We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
baseline.xml
/** ... */
After adding the doc comment, the suppression no longer works. Re-running detektBaseline shows that the signature has actually changed.
detektBaseline
See https://github.com/roomscape/detekt-baseline-issue, or:
detekt
Suppression for a method without a doc comment:
<ID>LongMethod:Example.kt$Example$fun checkFoo()</ID>
Suppression for the same method after a doc comment is added:
<ID>LongMethod:Example.kt$Example$ fun checkFoo()</ID>
The text was updated successfully, but these errors were encountered:
Yeah that's a bug. I think we tried to address it once with #4335 but that had to be reverted as it was causing problems.
Sorry, something went wrong.
It's unreproducible on the latest main. Seems to be fixed.
Closing then, thanks!
No branches or pull requests
Expected Behavior
baseline.xml
/** ... */
) to the methodObserved Behavior
After adding the doc comment, the suppression no longer works. Re-running
detektBaseline
shows that the signature has actually changed.Steps to Reproduce
See https://github.com/roomscape/detekt-baseline-issue, or:
detekt
and observe that it failsdetektBaseline
detekt
and observe that it passesdetekt
and observe that it failsdetektBaseline
and observe that thebaseline.xml
file has changedSuppression for a method without a doc comment:
Suppression for the same method after a doc comment is added:
Context
Your Environment
The text was updated successfully, but these errors were encountered: