Skip to content

Commit

Permalink
Merge branch 'master' of github.com:errata-ai/Microsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Aug 14, 2019
2 parents bf8f2ad + c6c7dcb commit 9d29780
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Microsoft/FirstPerson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ level: warning
nonword: true
tokens:
- (?:^|\s)I\s
- (?:^|\s)I,\s
- \bI'm\b
- \bme\b
- \bmy\b
- \bmine\b
- \bours?\b
- \bus\b
- \bwe'(?:ve|re)\b
- \bwe\b
4 changes: 4 additions & 0 deletions Microsoft/We.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ level: warning
ignorecase: true
tokens:
- we
- we'(?:ve|re)
- ours?
- us
- let's
8 changes: 8 additions & 0 deletions features/rules.feature
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ Feature: Rules
test.md:11:9:Microsoft.Vocab:Verify your use of 'ensure' with the A-Z word list.
test.md:17:1:Microsoft.FirstPerson:Use first person sparingly ('I').
test.md:19:13:Microsoft.FirstPerson:Use first person sparingly ('me').
test.md:21:1:Microsoft.FirstPerson:Use first person sparingly ('I'm').
test.md:23:1:Microsoft.We:Try to avoid using first-person plural like 'We'.
test.md:25:9:Microsoft.FirstPerson:Use first person sparingly ('my').
test.md:27:14:Microsoft.FirstPerson:Use first person sparingly ('mine').
test.md:29:17:Microsoft.We:Try to avoid using first-person plural like 'us'.
test.md:31:1:Microsoft.We:Try to avoid using first-person plural like 'Let's'.
test.md:33:1:Microsoft.FirstPerson:Use first person sparingly ('I,').
test.md:33:21:Microsoft.We:Try to avoid using first-person plural like 'our'.
"""

Scenario: Backend vs. Back-end
Expand Down
1 change: 1 addition & 0 deletions fixtures/Terms/.vale.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Microsoft.Avoid = YES
Microsoft.Adverbs = YES
Microsoft.ComplexWords = YES
Microsoft.FirstPerson = YES
Microsoft.We = YES
Microsoft.Wordiness = YES
Microsoft.Vocab = YES

14 changes: 14 additions & 0 deletions fixtures/Terms/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,17 @@ You can use the API to access the server.
I am going to go now.

Is that for me?

I'm going to go now

We like to party.

This is my redemption.

This book is mine.

No one can stop us now.

Let's do the time warp again.

I, for one, welcome our new insect overlords.

0 comments on commit 9d29780

Please sign in to comment.