Skip to content

Commit f2b193c

Browse files
committed
Clean up
* Improved a few messages * Standardized the use of ('dumb') quotes * Added a few more actions * Fixed a few source links
1 parent e5c1f08 commit f2b193c

30 files changed

+177
-171
lines changed

Microsoft/Accessibility.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
2-
message: "Dont use language ('%s') that defines people by their disability."
3-
link: 'https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/bits-bytes-terms'
2+
message: "Don't use language (such as '%s') that defines people by their disability."
3+
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/accessibility-terms
44
level: suggestion
55
ignorecase: true
66
tokens:

Microsoft/Acronyms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: conditional
22
message: "'%s' has no definition."
3-
link: 'https://docs.microsoft.com/en-us/style-guide/acronyms'
3+
link: https://docs.microsoft.com/en-us/style-guide/acronyms
44
level: suggestion
55
ignorecase: false
66
# Ensures that the existence of 'first' implies the existence of 'second'.

Microsoft/Auto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
extends: existence
2-
message: "In general, dont hyphenate '%s'."
3-
link: 'https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto'
2+
message: "In general, don't hyphenate '%s'."
3+
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/a/auto
44
ignorecase: true
55
level: error
66
action:

Microsoft/Avoid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extends: existence
2-
message: Don't use '%s'.
2+
message: "Don't use '%s'."
33
link: https://docs.microsoft.com/en-us/style-guide
44
ignorecase: true
55
level: error

Microsoft/Backend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
extends: substitution
2-
message: Use %s instead of '%s'
2+
message: "Use '%s' instead of '%s'."
33
level: warning
4-
link: 'https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/b/back-end'
4+
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/b/back-end
55
# Use 'back end' (noun) or 'back-end' (adj).
66
pos: 'back-end/NN|backend/(?:JJ|NN)|back/\w+ end/JJ|back/(?:JJ|RB) end/\w+'
77
ignorecase: true
88
action:
99
name: replace
1010
swap:
11-
back-end: "'back end'"
12-
back end: "'back-end'"
11+
back-end: back end
12+
back end: back-end

Microsoft/ComplexWords.yml

Lines changed: 115 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,120 @@
11
extends: substitution
2-
message: Consider using %s instead of '%s'
2+
message: "Consider using '%s' instead of '%s'."
33
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-simple-words-concise-sentences
44
ignorecase: true
55
level: suggestion
6+
action:
7+
name: replace
68
swap:
7-
'approximate(?:ly)?': "'about'"
8-
abundance: "'plenty'"
9-
accelerate: "'speed up'"
10-
accentuate: "'stress'"
11-
accompany: "'go with'"
12-
accomplish: "'carry out' or 'do'"
13-
accorded: "'given'"
14-
accordingly: "'so'"
15-
accrue: "'add'"
16-
accurate: "'right' or 'exact'"
17-
acquiesce: "'agree'"
18-
acquire: "'get' or 'buy'"
19-
additional: "'more' or 'extra'"
20-
address: "'discuss'"
21-
addressees: "'you'"
22-
adjacent to: "'next to'"
23-
adjustment: "'change'"
24-
admissible: "'allowed'"
25-
advantageous: "'helpful'"
26-
advise: "'tell'"
27-
aggregate: "'total'"
28-
aircraft: "'plane'"
29-
alleviate: "'ease'"
30-
allocate: "'assign' or 'divide'"
31-
alternatively: "'or'"
32-
alternatives: "'choices' or 'options'"
33-
ameliorate: "'improve'"
34-
amend: "'change'"
35-
anticipate: "'expect'"
36-
apparent: "'clear' or 'plain'"
37-
ascertain: "'discover' or 'find out'"
38-
assistance: "'help'"
39-
attain: "'meet'"
40-
attempt: "'try'"
41-
authorize: "'allow'"
42-
belated: "'late'"
43-
bestow: "'give'"
44-
cease: "'stop' or 'end'"
45-
collaborate: "'work together'"
46-
commence: "'begin'"
47-
compensate: "'pay'"
48-
component: "'part'"
49-
comprise: "'form' or 'include'"
50-
concept: "'idea'"
51-
concerning: "'about'"
52-
confer: "'give' or 'award'"
53-
consequently: "'so'"
54-
consolidate: "'merge'"
55-
constitutes: "'forms'"
56-
contains: "'has'"
57-
convene: "'meet'"
58-
demonstrate: "'show' or 'prove'"
59-
depart: "'leave'"
60-
designate: "'choose'"
61-
desire: "'want' or 'wish'"
62-
determine: "'decide' or 'find'"
63-
detrimental: "'bad' or 'harmful'"
64-
disclose: "'share' or 'tell'"
65-
discontinue: "'stop'"
66-
disseminate: "'send' or 'give'"
67-
eliminate: "'end'"
68-
elucidate: "'explain'"
69-
employ: "'use'"
70-
enclosed: "inside or 'included'"
71-
encounter: "'meet'"
72-
endeavor: "'try'"
73-
enumerate: "'count'"
74-
equitable: "'fair'"
75-
equivalent: "'equal'"
76-
exclusively: "'only'"
77-
expedite: "'hurry'"
78-
facilitate: "'ease'"
79-
females: "'women'"
80-
finalize: "'complete' or 'finish'"
81-
frequently: "'often'"
82-
identical: "'same'"
83-
incorrect: "'wrong'"
84-
indication: "'sign'"
85-
initiate: "'start' or 'begin'"
86-
itemized: "'listed'"
87-
jeopardize: "'risk'"
88-
liaise: "'work with' or 'partner with'"
89-
maintain: "'keep' or 'support'"
90-
methodology: "'method'"
91-
modify: "'change'"
92-
monitor: "'check' or 'watch'"
93-
multiple: "'many'"
94-
necessitate: "'cause'"
95-
notify: "'tell'"
96-
numerous: "'many'"
97-
objective: "'aim' or 'goal'"
98-
obligate: "'bind' or 'compel'"
99-
optimum: "'best' or 'most'"
100-
permit: "'let'"
101-
portion: "'part'"
102-
possess: "'own'"
103-
previous: "'earlier'"
104-
previously: "'before'"
105-
prioritize: "'rank'"
106-
procure: "'buy'"
107-
provide: "'give' or 'offer'"
108-
purchase: "'buy'"
109-
relocate: "'move'"
110-
solicit: "'request'"
111-
state-of-the-art: "'latest'"
112-
subsequent: "'later' or 'next'"
113-
substantial: "'large'"
114-
sufficient: "'enough'"
115-
terminate: "'end'"
116-
transmit: "'send'"
117-
utilization: "'use'"
118-
utilize: "'use'"
9+
"approximate(?:ly)?": about
10+
abundance: plenty
11+
accelerate: speed up
12+
accentuate: stress
13+
accompany: go with
14+
accomplish: carry out|do
15+
accorded: given
16+
accordingly: so
17+
accrue: add
18+
accurate: right|exact
19+
acquiesce: agree
20+
acquire: get|buy
21+
additional: more|extra
22+
address: discuss
23+
addressees: you
24+
adjacent to: next to
25+
adjustment: change
26+
admissible: allowed
27+
advantageous: helpful
28+
advise: tell
29+
aggregate: total
30+
aircraft: plane
31+
alleviate: ease
32+
allocate: assign|divide
33+
alternatively: or
34+
alternatives: choices|options
35+
ameliorate: improve
36+
amend: change
37+
anticipate: expect
38+
apparent: clear|plain
39+
ascertain: discover|find out
40+
assistance: help
41+
attain: meet
42+
attempt: try
43+
authorize: allow
44+
belated: late
45+
bestow: give
46+
cease: stop|end
47+
collaborate: work together
48+
commence: begin
49+
compensate: pay
50+
component: part
51+
comprise: form|include
52+
concept: idea
53+
concerning: about
54+
confer: give|award
55+
consequently: so
56+
consolidate: merge
57+
constitutes: forms
58+
contains: has
59+
convene: meet
60+
demonstrate: show|prove
61+
depart: leave
62+
designate: choose
63+
desire: want|wish
64+
determine: decide|find
65+
detrimental: bad|harmful
66+
disclose: share|tell
67+
discontinue: stop
68+
disseminate: send|give
69+
eliminate: end
70+
elucidate: explain
71+
employ: use
72+
enclosed: inside|included
73+
encounter: meet
74+
endeavor: try
75+
enumerate: count
76+
equitable: fair
77+
equivalent: equal
78+
exclusively: only
79+
expedite: hurry
80+
facilitate: ease
81+
females: women
82+
finalize: complete|finish
83+
frequently: often
84+
identical: same
85+
incorrect: wrong
86+
indication: sign
87+
initiate: start|begin
88+
itemized: listed
89+
jeopardize: risk
90+
liaise: work with|partner with
91+
maintain: keep|support
92+
methodology: method
93+
modify: change
94+
monitor: check|watch
95+
multiple: many
96+
necessitate: cause
97+
notify: tell
98+
numerous: many
99+
objective: aim|goal
100+
obligate: bind|compel
101+
optimum: best|most
102+
permit: let
103+
portion: part
104+
possess: own
105+
previous: earlier
106+
previously: before
107+
prioritize: rank
108+
procure: buy
109+
provide: give|offer
110+
purchase: buy
111+
relocate: move
112+
solicit: request
113+
state-of-the-art: latest
114+
subsequent: later|next
115+
substantial: large
116+
sufficient: enough
117+
terminate: end
118+
transmit: send
119+
utilization: use
120+
utilize: use

Microsoft/Contractions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extends: substitution
2-
message: 'Use "%s" instead of "%s".'
2+
message: "Use '%s' instead of '%s'."
33
link: https://docs.microsoft.com/en-us/style-guide/word-choice/use-contractions
44
level: error
55
ignorecase: true

Microsoft/DateNumbers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extends: existence
2-
message: Dont use ordinal numbers for dates.
2+
message: "Don't use ordinal numbers for dates."
33
link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
44
level: error
55
nonword: true

Microsoft/DateOrder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extends: existence
2-
message: Always spell out the name of the month.
2+
message: "Always spell out the name of the month."
33
link: https://docs.microsoft.com/en-us/style-guide/numbers#numbers-in-dates
44
ignorecase: true
55
level: error

Microsoft/Ellipses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extends: existence
2-
message: "In general, dont use an ellipsis."
2+
message: "In general, don't use an ellipsis."
33
link: https://docs.microsoft.com/en-us/style-guide/punctuation/ellipses
44
nonword: true
55
level: warning

0 commit comments

Comments
 (0)