Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/styles/Microsoft/Accessibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,25 @@ ignorecase: true
tokens:
- a victim of
- able-bodied
- affected by
- an epileptic
- birth defect
- crippled
- differently abled
- disabled
- dumb
- handicapped
- handicaps
- healthy
- healthy person
- hearing-impaired
- lame
- maimed
- mentally handicapped
- missing a limb
- mute
- normal
- non-verbal
- normal person
- sight-impaired
- slow learner
- stricken with
- suffers from
- vision-impaired
4 changes: 3 additions & 1 deletion .github/styles/Microsoft/Adverbs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extends: existence
message: "Consider removing '%s'."
message: "Remove '%s' if it's not important to the meaning of the statement."
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
ignorecase: true
level: warning
Expand Down Expand Up @@ -54,6 +54,7 @@ tokens:
- doubtfully
- dreamily
- easily
- effectively
- elegantly
- energetically
- enormously
Expand Down Expand Up @@ -164,6 +165,7 @@ tokens:
- quickly
- quietly
- quirkily
- quite
- quizzically
- randomly
- rapidly
Expand Down
120 changes: 0 additions & 120 deletions .github/styles/Microsoft/ComplexWords.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/styles/Microsoft/Dashes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ level: error
action:
name: edit
params:
- remove
- ' '
- trim
- " "
tokens:
- '[—–]\s|\s[—–]'
- '\s[—–]\s|\s[—–]|[—–]\s'
4 changes: 2 additions & 2 deletions .github/styles/Microsoft/FirstPerson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ignorecase: true
level: warning
nonword: true
tokens:
- (?:^|\s)I\s
- (?:^|\s)I,\s
- (?:^|\s)I(?=\s)
- (?:^|\s)I(?=,\s)
- \bI'd\b
- \bI'll\b
- \bI'm\b
Expand Down
76 changes: 37 additions & 39 deletions .github/styles/Microsoft/GenderBias.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,41 @@ extends: substitution
message: "Consider using '%s' instead of '%s'."
ignorecase: true
level: error
action:
name: replace
swap:
(?:alumna|alumnus): graduate
(?:alumnae|alumni): graduates
air(?:m[ae]n|wom[ae]n): pilot(s)
anchor(?:m[ae]n|wom[ae]n): anchor(s)
authoress: author
camera(?:m[ae]n|wom[ae]n): camera operator(s)
chair(?:m[ae]n|wom[ae]n): chair(s)
congress(?:m[ae]n|wom[ae]n): member(s) of congress
door(?:m[ae]|wom[ae]n): concierge(s)
draft(?:m[ae]n|wom[ae]n): drafter(s)
fire(?:m[ae]n|wom[ae]n): firefighter(s)
fisher(?:m[ae]n|wom[ae]n): fisher(s)
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
lady lawyer: lawyer
ladylike: courteous
landlord: building manager
mail(?:m[ae]n|wom[ae]n): mail carriers
man and wife: husband and wife
man enough: strong enough
mankind: human kind
manmade: manufactured
manpower: personnel
men and girls: men and women
middle(?:m[ae]n|wom[ae]n): intermediary
news(?:m[ae]n|wom[ae]n): journalist(s)
ombuds(?:man|woman): ombuds
oneupmanship: upstaging
poetess: poet
police(?:m[ae]n|wom[ae]n): police officer(s)
repair(?:m[ae]n|wom[ae]n): technician(s)
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
service(?:m[ae]n|wom[ae]n): soldier(s)
steward(?:ess)?: flight attendant
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
waitress: waiter
woman doctor: doctor
woman scientist[s]?: scientist(s)
work(?:m[ae]n|wom[ae]n): worker(s)
(?:alumna|alumnus): graduate
(?:alumnae|alumni): graduates
air(?:m[ae]n|wom[ae]n): pilot(s)
anchor(?:m[ae]n|wom[ae]n): anchor(s)
authoress: author
camera(?:m[ae]n|wom[ae]n): camera operator(s)
door(?:m[ae]|wom[ae]n): concierge(s)
draft(?:m[ae]n|wom[ae]n): drafter(s)
fire(?:m[ae]n|wom[ae]n): firefighter(s)
fisher(?:m[ae]n|wom[ae]n): fisher(s)
fresh(?:m[ae]n|wom[ae]n): first-year student(s)
garbage(?:m[ae]n|wom[ae]n): waste collector(s)
lady lawyer: lawyer
ladylike: courteous
mail(?:m[ae]n|wom[ae]n): mail carriers
man and wife: husband and wife
man enough: strong enough
mankind: human kind
manmade: manufactured
manpower: personnel
middle(?:m[ae]n|wom[ae]n): intermediary
news(?:m[ae]n|wom[ae]n): journalist(s)
ombuds(?:man|woman): ombuds
oneupmanship: upstaging
poetess: poet
police(?:m[ae]n|wom[ae]n): police officer(s)
repair(?:m[ae]n|wom[ae]n): technician(s)
sales(?:m[ae]n|wom[ae]n): salesperson or sales people
service(?:m[ae]n|wom[ae]n): soldier(s)
steward(?:ess)?: flight attendant
tribes(?:m[ae]n|wom[ae]n): tribe member(s)
waitress: waiter
woman doctor: doctor
woman scientist[s]?: scientist(s)
work(?:m[ae]n|wom[ae]n): worker(s)
6 changes: 3 additions & 3 deletions .github/styles/Microsoft/HeadingPunctuation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ scope: heading
action:
name: edit
params:
- remove
- '.?!'
- trim_right
- ".?!"
tokens:
- '[a-z][.?!](?:\s|$)'
- "[a-z][.?!]$"
8 changes: 4 additions & 4 deletions .github/styles/Microsoft/Hyphens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ nonword: true
action:
name: edit
params:
- replace
- '-'
- ' '
- regex
- "-"
- " "
tokens:
- '\s[^\s-]+ly-'
- '\b[^\s-]+ly-\w+\b'
8 changes: 4 additions & 4 deletions .github/styles/Microsoft/Negative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ level: error
action:
name: edit
params:
- replace
- '-'
- '–'
- regex
- "-"
- "–"
tokens:
- '\s-\d+\s'
- '(?<=\s)-\d+(?:\.\d+)?\b'
7 changes: 7 additions & 0 deletions .github/styles/Microsoft/Plurals.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: existence
message: "Don't add '%s' to a singular noun. Use plural instead."
ignorecase: true
level: error
link: https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/s/s-es
raw:
- '\(s\)|\(es\)'
13 changes: 0 additions & 13 deletions .github/styles/Microsoft/RangeFormat.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/styles/Microsoft/RangeTime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ level: error
action:
name: edit
params:
- replace
- '[-–]'
- 'to'
- regex
- "[-–]"
- "to"
tokens:
- '\b(?:AM|PM)\s?[-–]\s?.+(?:AM|PM)\b'
7 changes: 0 additions & 7 deletions .github/styles/Microsoft/Ranges.yml

This file was deleted.

21 changes: 11 additions & 10 deletions .github/styles/Microsoft/Terms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,28 @@ ignorecase: true
action:
name: replace
swap:
'(?:agent|virtual assistant|intelligent personal assistant)': personal digital assistant
'(?:drive C:|drive C>|C: drive)': drive C
'(?:internet bot|web robot)s?': bot(s)
'(?:microsoft cloud|the cloud)': cloud
'(?:mobile|smart) ?phone': phone
'24/7': every day
'audio(?:-| )book': audiobook
'back(?:-| )light': backlight
'chat ?bots?': chatbot(s)
"(?:agent|virtual assistant|intelligent personal assistant)": personal digital assistant
"(?:assembler|machine language)": assembly language
"(?:drive C:|drive C>|C: drive)": drive C
"(?:internet bot|web robot)s?": bot(s)
"(?:microsoft cloud|the cloud)": cloud
"(?:mobile|smart) ?phone": phone
"24/7": every day
"audio(?:-| )book": audiobook
"back(?:-| )light": backlight
"chat ?bots?": chatbot(s)
adaptor: adapter
administrate: administer
afterwards: afterward
alphabetic: alphabetical
alphanumerical: alphanumeric
an URL: a URL
anti-aliasing: antialiasing
anti-malware: antimalware
anti-spyware: antispyware
anti-virus: antivirus
appendixes: appendices
artificial intelligence: AI
'(?:assembler|machine language)': assembly language
caap: CaaP
conversation-as-a-platform: conversation as a platform
eb: EB
Expand Down
Loading
Loading