2025-03-14 21:59:59 -06:00
|
|
|
# vale
|
|
|
|
|
|
|
|
|
|
> Extensible style checker that supports multiple markup formats, such as Markdown and AsciiDoc.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://vale.sh/docs/cli>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Check the style of a file:
|
|
|
|
|
|
|
|
|
|
`vale {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Check the style of a file with a specified configuration:
|
|
|
|
|
|
|
|
|
|
`vale --config='{{path/to/.vale.ini}}' {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Output the results in JSON format:
|
|
|
|
|
|
|
|
|
|
`vale --output=JSON {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Check style issues at the specific severity and higher:
|
|
|
|
|
|
|
|
|
|
`vale --minAlertLevel={{suggestion|warning|error}} {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Check the style from `stdin`, specifying markup format:
|
|
|
|
|
|
|
|
|
|
`cat {{file.md}} | vale --ext=.md`
|
|
|
|
|
|
|
|
|
|
- List the current configuration:
|
|
|
|
|
|
|
|
|
|
`vale ls-config`
|