mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 06:57:12 +00:00
Update cheatsheets
This commit is contained in:
33
vale
Normal file
33
vale
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 {{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`
|
||||
Reference in New Issue
Block a user