Add Microsoft
and Vocab
This commit is contained in:
17
styles/Microsoft/Units.yml
Normal file
17
styles/Microsoft/Units.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
extends: existence
|
||||
message: "Don't spell out the number in '%s'."
|
||||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/units-of-measure-terms
|
||||
level: error
|
||||
|
||||
raw:
|
||||
- '[a-zA-Z]+\s'
|
||||
tokens:
|
||||
- '(?:centi|milli)?meters'
|
||||
- '(?:kilo)?grams'
|
||||
- '(?:kilo)?meters'
|
||||
- '(?:mega)?pixels'
|
||||
- cm
|
||||
- inches
|
||||
- lb
|
||||
- miles
|
||||
- pounds
|
Reference in New Issue
Block a user