diff --git a/.github/vale/Docker/Callouts.yml b/.github/vale/Docker/Callouts.yml deleted file mode 100644 index 47bcfe87fe..0000000000 --- a/.github/vale/Docker/Callouts.yml +++ /dev/null @@ -1,15 +0,0 @@ -# Checks that a callout block is followed by a liquid tag -# (Doesn't actually check that there is a well-formed liquid -# tag, just checks that it is not an empty line.) -extends: existence -message: "Use a liquid tag for 'Important' or 'Warning' callouts." -link: https://docs.docker.com/contribute/components/call-outs/ -level: warning -nonword: true -scope: raw -raw: - - '[:blank:]*\>.*?' - - "(?i)(?:important|warning|danger|caution)(?-i)" - - '.*\n' - - '(?:\s*\>.*?\n)+?' - - '\s*\n' diff --git a/.github/vale/Docker/SentenceLength.yml b/.github/vale/Docker/SentenceLength.yml index 06f0112fa9..9754fe7581 100644 --- a/.github/vale/Docker/SentenceLength.yml +++ b/.github/vale/Docker/SentenceLength.yml @@ -1,5 +1,5 @@ extends: occurrence -message: "Write short, concise sentences." +message: "Write short, concise sentences. (<=30 words)" scope: sentence link: https://docs.docker.com/contribute/checklist/ level: warning diff --git a/.vale.ini b/.vale.ini index 6b33d3939b..90a3d508a7 100644 --- a/.vale.ini +++ b/.vale.ini @@ -5,4 +5,5 @@ Vocab = Docker, Industry, Technology [*.md] BasedOnStyles = Vale, Docker -TokenIgnores = ({%.*%}) +TokenIgnores = ({%.*%}), \ +({:.*?})