summaryrefslogtreecommitdiff
path: root/ci/vale/Google/Ranges.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/vale/Google/Ranges.yml')
-rw-r--r--ci/vale/Google/Ranges.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/vale/Google/Ranges.yml b/ci/vale/Google/Ranges.yml
new file mode 100644
index 00000000..3ec045e7
--- /dev/null
+++ b/ci/vale/Google/Ranges.yml
@@ -0,0 +1,7 @@
+extends: existence
+message: "Don't add words such as 'from' or 'between' to describe a range of numbers."
+link: 'https://developers.google.com/style/hyphens'
+nonword: true
+level: warning
+tokens:
+ - '(?:from|between)\s\d+\s?-\s?\d+'