mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 08:29:33 -05:00
14 lines
274 B
YAML
14 lines
274 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:
|
|||
|
- replace
|
|||
|
- '[-–]'
|
|||
|
- 'to'
|
|||
|
tokens:
|
|||
|
- '\b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b'
|