mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
14 lines
260 B
YAML
14 lines
260 B
YAML
|
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'
|