vale: add exclamation rule

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson
2024-04-16 20:51:29 +02:00
parent dc998fe455
commit 215a5e5783

11
.github/vale/Docker/Exclamation.yml vendored Normal file
View 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|$)'