-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Enabling SARIF_REPORTER overrides TEXT_REPORTER features #1822
Comments
When we use SARIF reporter, we call the linters with arguments telling them to output the result in SARIF and not in "human readable" text Calling twice the linters with text mode then SARIF mode would double the performances and that would be not acceptable, but I recently found a library that seems to be able to convert SARIF to human text, i've not tested it yet but that could be an interesting evolution to implement someday on MegaLinter :) |
Well, in the same way that you documented several topics about the TAP reporter, it should be documented that there are reporters that can "coexist" at the same time but others, as in this case TEXT vs SARIF, cannot. That is, if SARIF is activated, the text reporter stops working. |
Happy to accept a pull request to clarify this in the documentation. On a related note, I see that docs/reporters.md is currently missing |
Text reporter just store the console output of linters, so technically it still works even if the content is sarif :D |
If I activate SARIF_REPORTER and TEXT_REPORTER at the same time, the following happens:
Why do I lose the complete log in text format which is equivalent to what is shown by console? It is very useful to inspect it later.
The text was updated successfully, but these errors were encountered: