You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support other tools to extend the output of the result of the rewriteRun task, we should allow for a report to be written as part of these tasks.
Describe the solution you'd like
SARIF support. potentially later we could add additional formats if required.
Should we move the responsability for sarif to Result. Similar to diff, one could ask result.sariff(), which would return the jsonString or SarifResult objects.
Should suggestions include the surrounding context like diff does or should they start at line 1 of change and go till last change?
If not, what about nonchanged lines in the middle of 2 changed lines. Typically a diff groups these together. If we make suggestion "per line", it might become a lot of comments and a hard to follow suggestion overview.
eg. If the diff is
What problem are you trying to solve?
In order to support other tools to extend the output of the result of the rewriteRun task, we should allow for a report to be written as part of these tasks.
Describe the solution you'd like
SARIF support. potentially later we could add additional formats if required.
Additional context
Are you interested in contributing this feature to OpenRewrite?
Yes! will need some pointers on gradle plugin design possibly
The text was updated successfully, but these errors were encountered: