Skip to content

Commit

Permalink
Update A-Z word list
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Nov 5, 2020
1 parent d1562f3 commit ec15da2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
10 changes: 3 additions & 7 deletions Microsoft/Avoid.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
extends: existence
message: "Don't use '%s'."
# See the A-Z word list
link: https://docs.microsoft.com/en-us/style-guide
ignorecase: true
level: error
tokens:
- abortion
- and so on
- and/or
- app developer
- app(?:lication)s? (?:developer|program)
- app(?:lication)? file
- application developer
- application program
- applications developer
- as well as
- ask
- backbone
- backend
- contiguous selection
8 changes: 5 additions & 3 deletions Microsoft/Vocab.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: existence
message: "Verify your use of '%s' with the A-Z word list."
link: 'https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/abort-abortion'
link: 'https://docs.microsoft.com/en-us/style-guide'
level: suggestion
ignorecase: true
tokens:
Expand All @@ -12,12 +12,14 @@ tokens:
- alert
- alias
- allows?
- and/or
- as well as
- assure
- author
- avg
- beta
- ensure
- he
- insure
- she
- sample
- beta
- she
4 changes: 2 additions & 2 deletions coverage/a-z.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ argument-vs-parameter: false
arrow: false
arrow-keys: false
as-well-as: true #Avoid.yml
ask: true #Avoid.yml
ask: false
assembly-language: true #Terms.yml
assistive: false
assure-ensure-insure: true #Vocab.yml
Expand Down Expand Up @@ -159,7 +159,7 @@ connect: false
console: false
context-menu: false
context-sensitive: false
contiguous-selection: false
contiguous-selection: true # Avoid.yml
control: false
control-panel: false
controller: false
Expand Down
2 changes: 1 addition & 1 deletion features/rules.feature
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Feature: Rules
Then the output should contain exactly:
"""
test.md:3:25:Microsoft.Avoid:Don't use 'abortion'.
test.md:5:9:Microsoft.Avoid:Don't use 'and/or'.
test.md:5:9:Microsoft.Vocab:Verify your use of 'and/or' with the A-Z word list.
test.md:5:34:Microsoft.ComplexWords:Consider using 'plenty' instead of 'abundance'.
test.md:7:8:Microsoft.Adverbs:Consider removing 'very'.
test.md:9:1:Microsoft.FirstPerson:Use first person (such as 'I ') sparingly.
Expand Down

0 comments on commit ec15da2

Please sign in to comment.