inspec/docs-chef-io/tools/vale/Microsoft/Negative.yml

14 lines
260 B
YAML
Raw Normal View History

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'