summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/Google/LyHyphens.yml
diff options
context:
space:
mode:
Diffstat (limited to 'public/vale/.vale-styles/Google/LyHyphens.yml')
-rw-r--r--public/vale/.vale-styles/Google/LyHyphens.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Google/LyHyphens.yml b/public/vale/.vale-styles/Google/LyHyphens.yml
new file mode 100644
index 0000000..ac8f557
--- /dev/null
+++ b/public/vale/.vale-styles/Google/LyHyphens.yml
@@ -0,0 +1,14 @@
+extends: existence
+message: "'%s' doesn't need a hyphen."
+link: 'https://developers.google.com/style/hyphens'
+level: error
+ignorecase: false
+nonword: true
+action:
+ name: edit
+ params:
+ - replace
+ - '-'
+ - ' '
+tokens:
+ - '\s[^\s-]+ly-'