constellation/docs/styles/Microsoft/RangeFormat.yml

14 lines
255 B
YAML
Raw Normal View History

2022-09-02 05:52:42 -04:00
extends: existence
message: "Use an en dash in a range of numbers."
link: https://docs.microsoft.com/en-us/style-guide/numbers
nonword: true
level: error
action:
name: edit
params:
- replace
- '-'
- ''
tokens:
- '\b\d+\s?[-]\s?\d+\b'