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

14 lines
274 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

extends: existence
message: "Use 'to' instead of a dash in '%s'."
link: https://docs.microsoft.com/en-us/style-guide/numbers
nonword: true
level: error
action:
name: edit
params:
- replace
- '[-]'
- 'to'
tokens:
- '\b(?:AM|PM)\s?[-]\s?.+(?:AM|PM)\b'