Skip to content

Commit ec6e27f

Browse files
committed
Combine CompexWords and Wordiness
1 parent 098fee8 commit ec6e27f

File tree

3 files changed

+13
-21
lines changed

3 files changed

+13
-21
lines changed

Microsoft/ComplexWords.yml

-14
This file was deleted.

Microsoft/Wordiness.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,24 @@ extends: substitution
22
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
5-
level: warning
5+
level: suggestion
66
action:
77
name: replace
88
swap:
9+
(?:extract|take away|eliminate): remove
910
(?:give|gave) rise to: lead to
11+
(?:in order to|as a means to): to
12+
(?:inform|let me know): tell
1013
(?:previous|prior) to: before
14+
(?:utilize|make use of): use
1115
a (?:large)? majority of: most
1216
a (?:large)? number of: many
1317
a myriad of: myriad
1418
adversely impact: hurt
1519
all across: across
20+
all of (?!a sudden|these): all
1621
all of a sudden: suddenly
1722
all of these: these
18-
all of (?!a sudden|these): all
1923
all-time record: record
2024
almost all: most
2125
almost never: seldom
@@ -52,13 +56,14 @@ swap:
5256
continue on: continue
5357
despite the fact that: although
5458
disappear from sight: disappear
59+
doomed to fail: doomed
5560
drag and drop: drag
5661
drag-and-drop: drag
57-
doomed to fail: doomed
5862
due to the fact that: because
5963
during the period of: during
6064
during the time that: while
6165
emergency situation: emergency
66+
establish connectivity: connect
6267
except when: unless
6368
excessive number: too many
6469
extend an invitation: invite
@@ -74,6 +79,7 @@ swap:
7479
in a careful manner: carefully
7580
in a thoughtful manner: thoughtfully
7681
in a timely manner: timely
82+
in addition: also
7783
in an effort to: to
7884
in between: between
7985
in lieu of: instead of

features/rules.feature

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Feature: Rules
4444
"""
4545
test.md:3:25:Microsoft.Avoid:Don't use 'abortion'. See the A-Z word list for details.
4646
test.md:5:9:Microsoft.Vocab:Verify your use of 'and/or' with the A-Z word list.
47-
test.md:7:8:Microsoft.Adverbs:Consider removing 'very'.
47+
test.md:7:8:Microsoft.Adverbs:Remove 'very' if it's not important to the meaning of the statement.
4848
test.md:9:1:Microsoft.FirstPerson:Use first person (such as 'I') sparingly.
4949
test.md:9:27:Microsoft.Wordiness:Consider using 'enough' instead of 'an adequate number of'.
5050
test.md:11:9:Microsoft.Vocab:Verify your use of 'ensure' with the A-Z word list.
@@ -60,7 +60,7 @@ Feature: Rules
6060
test.md:33:21:Microsoft.We:Try to avoid using first-person plural like 'our'.
6161
test.md:35:1:Microsoft.We:Try to avoid using first-person plural like 'We'.
6262
test.md:37:1:Microsoft.FirstPerson:Use first person (such as 'I') sparingly.
63-
test.md:37:21:Microsoft.ComplexWords:Consider using 'to' instead of 'as a means to'.
63+
test.md:37:21:Microsoft.Wordiness:Consider using 'to' instead of 'as a means to'.
6464
"""
6565

6666
# Scenario: Backend vs. Back-end
@@ -170,8 +170,8 @@ Feature: Rules
170170
When I test "URL"
171171
Then the output should contain exactly:
172172
"""
173-
test.md:1:11:Microsoft.URLFormat:Use 'URL of' instead of 'URL for'.
174-
test.md:3:8:Microsoft.URLFormat:Use 'a URL' instead of 'an URL'.
173+
test.md:1:11:Microsoft.URLFormat:Use 'of' (not 'for') to describe the relationship of the word URL to a resource.
174+
test.md:3:11:Microsoft.URLFormat:Use 'of' (not 'for') to describe the relationship of the word URL to a resource.
175175
"""
176176

177177
Scenario: Use of numbers

0 commit comments

Comments
 (0)