mirror of
https://github.com/bspeice/speice.io
synced 2024-11-14 22:18:10 -05:00
41 lines
788 B
YAML
41 lines
788 B
YAML
extends: existence
|
|
message: "Don't use ordinal numbers for dates."
|
|
link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
|
|
level: error
|
|
nonword: true
|
|
ignorecase: true
|
|
raw:
|
|
- \b(?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?)\b\s*
|
|
tokens:
|
|
- first
|
|
- second
|
|
- third
|
|
- fourth
|
|
- fifth
|
|
- sixth
|
|
- seventh
|
|
- eighth
|
|
- ninth
|
|
- tenth
|
|
- eleventh
|
|
- twelfth
|
|
- thirteenth
|
|
- fourteenth
|
|
- fifteenth
|
|
- sixteenth
|
|
- seventeenth
|
|
- eighteenth
|
|
- nineteenth
|
|
- twentieth
|
|
- twenty-first
|
|
- twenty-second
|
|
- twenty-third
|
|
- twenty-fourth
|
|
- twenty-fifth
|
|
- twenty-sixth
|
|
- twenty-seventh
|
|
- twenty-eighth
|
|
- twenty-ninth
|
|
- thirtieth
|
|
- thirty-first
|