docs-v2/.ci/vale/styles/Google/Ordinal.yml

14 lines
235 B
YAML

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|nd|rd|th)
- tenth
exceptions:
- 0th
- 50th
- 90th