File tree 4 files changed +12
-3
lines changed
4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ link: 'https://developers.google.com/style/sentence-spacing'
4
4
level : error
5
5
nonword : true
6
6
tokens :
7
- - ' [.?!] {2,}[A-Z]'
8
- - ' [.?!][A-Z]'
7
+ - ' [a-z][ .?!] {2,}[A-Z]'
8
+ - ' [a-z][ .?!][A-Z]'
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Feature: Rules
32
32
test.md:29:21:Google.WordList:Use 'preceding' instead of 'above'.
33
33
test.md:31:1:Google.FirstPerson:Avoid first-person pronouns such as 'I '.
34
34
test.md:31:8:Google.FirstPerson:Avoid first-person pronouns such as 'my'.
35
- test.md:31:11:Google.WordList:Use 'phone or mobile phone' instead of 'cell phone'.
35
+ test.md:31:11:Google.WordList:Use 'phone' or ' mobile phone' instead of 'cell phone'.
36
36
"""
37
37
38
38
Scenario : Use of contractions
@@ -98,6 +98,8 @@ Feature: Rules
98
98
test.md:27:44:Google.Exclamation:Don't use exclamation points in text.
99
99
test.md:29:1:Google.OxfordComma:Use the Oxford comma in 'Apples, pears or'.
100
100
test.md:33:5:Google.Exclamation:Don't use exclamation points in text.
101
+ test.md:37:21:Google.Spacing:'y. T' should have one space.
102
+ test.md:39:42:Google.Exclamation:Don't use exclamation points in text.
101
103
"""
102
104
103
105
Scenario : Foreign words
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ Google.LyHyphens = YES
15
15
Google.Parens = YES
16
16
Google.Quotes = YES
17
17
Google.Semicolons = YES
18
+ Google.Spacing = YES
Original file line number Diff line number Diff line change @@ -31,3 +31,9 @@ Apples, pears or bananas
31
31
![ An image] ( ../my-image.png )
32
32
33
33
Hello!
34
+
35
+ this is a sentence. so is this one.
36
+
37
+ This sentence is okay. This one is not.
38
+
39
+ The latest version of .NET Core is awesome!
You can’t perform that action at this time.
0 commit comments