mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
vale: add page (#8851)
This commit is contained in:
parent
d21f7452b5
commit
712b9688e2
1 changed files with 28 additions and 0 deletions
28
pages/common/vale.md
Normal file
28
pages/common/vale.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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}}`
|
||||
|
||||
- Check the style from stdin, specifying markup format:
|
||||
|
||||
`cat {{file.md}} | vale --ext=.md`
|
||||
|
||||
- List the current configuration:
|
||||
|
||||
`vale ls-config`
|
Loading…
Add table
Reference in a new issue