mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
vale: add exclamation rule
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
11
.github/vale/Docker/Exclamation.yml
vendored
Normal file
11
.github/vale/Docker/Exclamation.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
extends: existence
|
||||
message: "Don't use exclamation points in text."
|
||||
nonword: true
|
||||
level: error
|
||||
action:
|
||||
name: edit
|
||||
params:
|
||||
- trim_right
|
||||
- "!"
|
||||
tokens:
|
||||
- '\w+!(?:\s|$)'
|
||||
Reference in New Issue
Block a user