File tree Expand file tree Collapse file tree 4 files changed +11
-13
lines changed
Expand file tree Collapse file tree 4 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11extends : existence
22message : " Don't use '%s'."
3+ # See the A-Z word list
34link : https://docs.microsoft.com/en-us/style-guide
45ignorecase : true
56level : error
67tokens :
78 - abortion
89 - and so on
9- - and/or
10- - app developer
10+ - app(?:lication)s? (?:developer|program)
1111 - app(?:lication)? file
12- - application developer
13- - application program
14- - applications developer
15- - as well as
16- - ask
1712 - backbone
1813 - backend
14+ - contiguous selection
Original file line number Diff line number Diff line change 11extends : existence
22message : " Verify your use of '%s' with the A-Z word list."
3- link : ' https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/abort-abortion '
3+ link : ' https://docs.microsoft.com/en-us/style-guide'
44level : suggestion
55ignorecase : true
66tokens :
@@ -12,12 +12,14 @@ tokens:
1212 - alert
1313 - alias
1414 - allows?
15+ - and/or
16+ - as well as
1517 - assure
1618 - author
1719 - avg
20+ - beta
1821 - ensure
1922 - he
2023 - insure
21- - she
2224 - sample
23- - beta
25+ - she
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ argument-vs-parameter: false
4141arrow : false
4242arrow-keys : false
4343as-well-as : true # Avoid.yml
44- ask : true # Avoid.yml
44+ ask : false
4545assembly-language : true # Terms.yml
4646assistive : false
4747assure-ensure-insure : true # Vocab.yml
@@ -159,7 +159,7 @@ connect: false
159159console : false
160160context-menu : false
161161context-sensitive : false
162- contiguous-selection : false
162+ contiguous-selection : true # Avoid.yml
163163control : false
164164control-panel : false
165165controller : false
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Feature: Rules
4242 Then the output should contain exactly:
4343 """
4444 test.md:3:25:Microsoft.Avoid:Don't use 'abortion'.
45- test.md:5:9:Microsoft.Avoid:Don't use 'and/or'.
45+ test.md:5:9:Microsoft.Vocab:Verify your use of 'and/or' with the A-Z word list .
4646 test.md:5:34:Microsoft.ComplexWords:Consider using 'plenty' instead of 'abundance'.
4747 test.md:7:8:Microsoft.Adverbs:Consider removing 'very'.
4848 test.md:9:1:Microsoft.FirstPerson:Use first person (such as 'I ') sparingly.
You can’t perform that action at this time.
0 commit comments