summaryrefslogtreecommitdiff
path: root/.github/styles/Google/Spacing.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/Spacing.yml')
-rw-r--r--.github/styles/Google/Spacing.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/styles/Google/Spacing.yml b/.github/styles/Google/Spacing.yml
new file mode 100644
index 00000000..5f209a9f
--- /dev/null
+++ b/.github/styles/Google/Spacing.yml
@@ -0,0 +1,8 @@
+extends: existence
+message: "'%s' should have one space."
+link: 'https://developers.google.com/style/sentence-spacing'
+level: error
+nonword: true
+tokens:
+ - '[.?!] {2,}[A-Z]'
+ - '[.?!][A-Z]'