mirror of
https://github.com/bspeice/speice.io
synced 2024-11-14 22:18:10 -05:00
14 lines
272 B
YAML
14 lines
272 B
YAML
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:
|
||
- regex
|
||
- "[-–]"
|
||
- "to"
|
||
tokens:
|
||
- '\b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b'
|