stylua-action
stylua-action copied to clipboard
[Feature Request] Annotations
So now that we have the summary output style (thanks again!), it would be nice if the action used annotations to point out mistakes in the code.
Sorry, I missed this issue. Annotations in combination with summary output will be somewhat challenging. The only way (I think) we can do annotations is to parse the output of stylua, and if the output doesn't give any info about specific problems which we can parse, then we can't do annotations.
That being said, stylua supports --output-style=json, which is nicely machine readable. This can be parsed to support annotations, then a custom summary produced afterwards