summaryrefslogtreecommitdiff
path: root/ci/vale/Google/EmDash.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/vale/Google/EmDash.yml')
-rw-r--r--ci/vale/Google/EmDash.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/vale/Google/EmDash.yml b/ci/vale/Google/EmDash.yml
new file mode 100644
index 00000000..c6018db1
--- /dev/null
+++ b/ci/vale/Google/EmDash.yml
@@ -0,0 +1,8 @@
+extends: existence
+message: "Don't put a space before or after an em dash."
+link: 'https://developers.google.com/style/dashes'
+nonword: true
+level: error
+tokens:
+ - '\sā€”'
+ - 'ā€”\s'