update vale rules

This commit is contained in:
David Karlsson 2022-09-21 22:23:35 +02:00 committed by GitHub
commit a71ef444f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 17 deletions

View File

@ -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'

View File

@ -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

View File

@ -5,4 +5,5 @@ Vocab = Docker, Industry, Technology
[*.md]
BasedOnStyles = Vale, Docker
TokenIgnores = ({%.*%})
TokenIgnores = ({%.*%}), \
({:.*?})