File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11extends : existence
22message : " Don't spell out the number in '%s'."
33link : https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/units-of-measure-terms
4- nonword : true
54level : error
65raw :
7- - ' \b [a-zA-Z]+\s'
6+ - ' [a-zA-Z]+\s'
87tokens :
98 - ' (?:centi|milli)?meters'
109 - ' (?:kilo)?grams'
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ Feature: Rules
8686 """
8787 test.md:5:17:Microsoft.Units:Don't spell out the number in 'five pounds'.
8888 test.md:7:8:Microsoft.Units:Don't spell out the number in 'six meters'.
89+ test.md:11:8:Microsoft.Units:Don't spell out the number in 'ten cm'.
8990 """
9091
9192 Scenario : URL grammar
Original file line number Diff line number Diff line change @@ -5,3 +5,7 @@ Cook on high for three minutes.
55The box weighed five pounds.
66
77It was six meters long.
8+
9+ Using a task is similar to using a cmdlet or a function call.
10+
11+ A wire ten cm long is cut into 2 pieces, one of length x and the other of length 10-x. Each piece is bent into the shape of a square.
You can’t perform that action at this time.
0 commit comments