mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04: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
|