By default, Vale includes support for three output styles: line, JSON, and CLI (the default). You can specify which style to use via the --output flag:
$vale--output=lineREADME.md
In addition to the three provided output styles, Vale also supports custom output styles powered by Go’s text/template package.
To use a custom format, pass the path to a template file through the --output option:
$vale--output='template.tmpl'somefile.md
Where template.tmpl is a file that contains a valid Go template stored in the <StylesPath>/config/templates directory.
The following example converts Vale’s output to RDJSONL, which you can then pass to Reviewdog to display on pull request. This can be useful when the Vale action is not suitable for your workflow.