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
So that yamlfmt's output can be parsed by other tools to highlight which files need to be fixed, like reviewdog. Much like the existing -quiet flag, but without the preamble.
I'd imagine taking the existing -quiet output:
2024/02/28 15:23:20 The following files will have formatting changes:
foo/bar.yaml
and turning it into:
foo/bar.yaml: [warning] the file is not formatted correctly
(The exact wording is not required, just a demonstration.)
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion. It's not the first time someone's asked for something like this, I'll find a way to address it. I think I'll come up with some sort of adapter setup so it's possible to implement other kinds of output formats. Will work on this when I have time over the next week.
So that
yamlfmt
's output can be parsed by other tools to highlight which files need to be fixed, like reviewdog. Much like the existing-quiet
flag, but without the preamble.I'd imagine taking the existing
-quiet
output:and turning it into:
(The exact wording is not required, just a demonstration.)
The text was updated successfully, but these errors were encountered: