summaryrefslogtreecommitdiff
path: root/.github/styles/Google/EmDash.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/EmDash.yml')
-rw-r--r--.github/styles/Google/EmDash.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/styles/Google/EmDash.yml b/.github/styles/Google/EmDash.yml
new file mode 100644
index 00000000..c6018db1
--- /dev/null
+++ b/.github/styles/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'