mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-21 05:44:38 -05:00
14 lines
255 B
YAML
14 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'
|