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