Skip to content

Commit ec15da2

Browse files
committed
Update A-Z word list
1 parent d1562f3 commit ec15da2

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

Microsoft/Avoid.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
extends: existence
22
message: "Don't use '%s'."
3+
# See the A-Z word list
34
link: https://docs.microsoft.com/en-us/style-guide
45
ignorecase: true
56
level: error
67
tokens:
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

Microsoft/Vocab.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
22
message: "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'
44
level: suggestion
55
ignorecase: true
66
tokens:
@@ -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

coverage/a-z.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ argument-vs-parameter: false
4141
arrow: false
4242
arrow-keys: false
4343
as-well-as: true #Avoid.yml
44-
ask: true #Avoid.yml
44+
ask: false
4545
assembly-language: true #Terms.yml
4646
assistive: false
4747
assure-ensure-insure: true #Vocab.yml
@@ -159,7 +159,7 @@ connect: false
159159
console: false
160160
context-menu: false
161161
context-sensitive: false
162-
contiguous-selection: false
162+
contiguous-selection: true # Avoid.yml
163163
control: false
164164
control-panel: false
165165
controller: false

features/rules.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)