mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-11 00:44:20 -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
|