New issue
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
Extend ReportMergeTask for md #5034
Comments
Related to #4827 |
Also related with #4289. If the Detekt task generates a single report or serializes the Detektion list this and other tasks would be more easy. Probably SARIF could be that base report. The idea detekt-core > SARIF? > Reports (single, merged, baselines, etc) This would work extremely well with gradle. But this is a huge refactor. |
Yeah that's basically what JaCoCo does, as an example. |
This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days. |
This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days. |
Html is not working too |
Expected Behavior
I would like to use the Markdown Report (#4858) in projects with multiple modules.
For this, I would like to extend the ReportMergeTask to work also with markdown files. Sadly, this is kind of a problem: We can not simply parse the markdown reports because it's just text.
Idea
An idea would be to implement a new output generator like
SerializedOutput
which just serializes theDetektion
-object and extend the ReportMergeTask to generate an MD file out of the serializedDetektion
-object.I'm not really happy with this solution but I haven't another idea about how to get a merged markdown report (and maybe we can also use this for the txt/html output).
Your Environment
Version of detekt used: 1.21.0-RC2
Version of Gradle used (if applicable): 7.4.2
The text was updated successfully, but these errors were encountered: