constellation/docs/styles/Microsoft/Negative.yml

14 lines
260 B
YAML
Raw Normal View History

2022-09-02 05:52:42 -04:00
extends: existence
message: "Form a negative number with an en dash, not a hyphen."
link: https://docs.microsoft.com/en-us/style-guide/numbers
nonword: true
level: error
action:
name: edit
params:
- replace
- '-'
- ''
tokens:
- '\s-\d+\s'