summaryrefslogtreecommitdiff
path: root/ci/vale/Google/Ordinal.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/vale/Google/Ordinal.yml')
-rw-r--r--ci/vale/Google/Ordinal.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/vale/Google/Ordinal.yml b/ci/vale/Google/Ordinal.yml
new file mode 100644
index 00000000..8c429e0f
--- /dev/null
+++ b/ci/vale/Google/Ordinal.yml
@@ -0,0 +1,7 @@
+extends: existence
+message: "Spell out all ordinal numbers ('%s') in text."
+link: 'https://developers.google.com/style/numbers'
+level: error
+nonword: true
+tokens:
+ - \d+(?:st|th|rd)