From 712b9688e217346cb9a4841f6d650255f3c3d291 Mon Sep 17 00:00:00 2001 From: Guy Bianco IV Date: Mon, 10 Oct 2022 11:12:14 -0400 Subject: [PATCH] vale: add page (#8851) --- pages/common/vale.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/vale.md diff --git a/pages/common/vale.md b/pages/common/vale.md new file mode 100644 index 000000000..9e7e336a5 --- /dev/null +++ b/pages/common/vale.md @@ -0,0 +1,28 @@ +# vale + +> Extensible style checker that supports multiple markup formats, such as Markdown and AsciiDoc. +> More information: . + +- 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`