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