mirror of
https://github.com/bspeice/speice.io
synced 2024-11-14 22:18:10 -05:00
17 lines
372 B
YAML
17 lines
372 B
YAML
|
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
|