inspec/docs-chef-io/tools/vale/Microsoft/AMPM.yml
Ian Maddaus be7cc0932a Add vale config to inspec repository
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
2022-05-17 10:44:59 -04:00

9 lines
288 B
YAML

extends: existence
message: Use 'AM' or 'PM' (preceded by a space).
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms
level: error
nonword: true
tokens:
- '\d{1,2}[AP]M'
- '\d{1,2} ?[ap]m'
- '\d{1,2} ?[aApP]\.[mM]\.'