constellation/docs/styles/Microsoft/DateOrder.yml
2022-09-02 11:52:42 +02:00

9 lines
240 B
YAML

extends: existence
message: "Always spell out the name of the month."
link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
ignorecase: true
level: error
nonword: true
tokens:
- '\b\d{1,2}/\d{1,2}/(?:\d{4}|\d{2})\b'