Add Microsoft
and Vocab
This commit is contained in:
14
styles/Microsoft/RangeFormat.yml
Normal file
14
styles/Microsoft/RangeFormat.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
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'
|
Reference in New Issue
Block a user