summaryrefslogtreecommitdiff
path: root/.github/styles/Google/Hyphens.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/Hyphens.yml')
-rw-r--r--.github/styles/Google/Hyphens.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/styles/Google/Hyphens.yml b/.github/styles/Google/Hyphens.yml
new file mode 100644
index 00000000..f9779637
--- /dev/null
+++ b/.github/styles/Google/Hyphens.yml
@@ -0,0 +1,8 @@
+extends: existence
+message: "Don't place a space on either side of a hyphen (unless it's suspended)."
+link: 'https://developers.google.com/style/hyphens'
+level: warning
+nonword: true
+tokens:
+ - '\s-'
+ - '-\s'