mirror of https://github.com/docker/docs.git
vale: add heading punctuation rule
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
215a5e5783
commit
983cb1da09
|
|
@ -0,0 +1,12 @@
|
|||
extends: existence
|
||||
message: "Don't put a period at the end of a heading."
|
||||
nonword: true
|
||||
level: warning
|
||||
scope: heading
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- trim_right
|
||||
- "."
|
||||
tokens:
|
||||
- '[a-z0-9][.]\s*$'
|
||||
Loading…
Reference in New Issue