mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
be7cc0932a
Signed-off-by: Ian Maddaus <ian.maddaus@progress.com>
13 lines
255 B
YAML
13 lines
255 B
YAML
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'
|