Skip to content

Commit 9d29780

Browse files
committed
Merge branch 'master' of github.com:errata-ai/Microsoft
2 parents bf8f2ad + c6c7dcb commit 9d29780

File tree

5 files changed

+30
-4
lines changed

5 files changed

+30
-4
lines changed

Microsoft/FirstPerson.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ level: warning
66
nonword: true
77
tokens:
88
- (?:^|\s)I\s
9+
- (?:^|\s)I,\s
10+
- \bI'm\b
911
- \bme\b
12+
- \bmy\b
1013
- \bmine\b
11-
- \bours?\b
12-
- \bus\b
13-
- \bwe'(?:ve|re)\b
14-
- \bwe\b

Microsoft/We.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ level: warning
55
ignorecase: true
66
tokens:
77
- we
8+
- we'(?:ve|re)
9+
- ours?
10+
- us
11+
- let's

features/rules.feature

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ Feature: Rules
5050
test.md:11:9:Microsoft.Vocab:Verify your use of 'ensure' with the A-Z word list.
5151
test.md:17:1:Microsoft.FirstPerson:Use first person sparingly ('I').
5252
test.md:19:13:Microsoft.FirstPerson:Use first person sparingly ('me').
53+
test.md:21:1:Microsoft.FirstPerson:Use first person sparingly ('I'm').
54+
test.md:23:1:Microsoft.We:Try to avoid using first-person plural like 'We'.
55+
test.md:25:9:Microsoft.FirstPerson:Use first person sparingly ('my').
56+
test.md:27:14:Microsoft.FirstPerson:Use first person sparingly ('mine').
57+
test.md:29:17:Microsoft.We:Try to avoid using first-person plural like 'us'.
58+
test.md:31:1:Microsoft.We:Try to avoid using first-person plural like 'Let's'.
59+
test.md:33:1:Microsoft.FirstPerson:Use first person sparingly ('I,').
60+
test.md:33:21:Microsoft.We:Try to avoid using first-person plural like 'our'.
5361
"""
5462

5563
Scenario: Backend vs. Back-end

fixtures/Terms/.vale.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Microsoft.Avoid = YES
77
Microsoft.Adverbs = YES
88
Microsoft.ComplexWords = YES
99
Microsoft.FirstPerson = YES
10+
Microsoft.We = YES
1011
Microsoft.Wordiness = YES
1112
Microsoft.Vocab = YES
1213

fixtures/Terms/test.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,17 @@ You can use the API to access the server.
1717
I am going to go now.
1818

1919
Is that for me?
20+
21+
I'm going to go now
22+
23+
We like to party.
24+
25+
This is my redemption.
26+
27+
This book is mine.
28+
29+
No one can stop us now.
30+
31+
Let's do the time warp again.
32+
33+
I, for one, welcome our new insect overlords.

0 commit comments

Comments
 (0)