summaryrefslogtreecommitdiff
path: root/.github/styles/Google/HeadingPunctuation.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/HeadingPunctuation.yml')
-rw-r--r--.github/styles/Google/HeadingPunctuation.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/styles/Google/HeadingPunctuation.yml b/.github/styles/Google/HeadingPunctuation.yml
new file mode 100644
index 00000000..5c39abbf
--- /dev/null
+++ b/.github/styles/Google/HeadingPunctuation.yml
@@ -0,0 +1,8 @@
+extends: existence
+message: "Don't put a period at the end of a heading."
+link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings'
+nonword: true
+level: warning
+scope: heading
+tokens:
+ - '[a-z0-9][.](?:\s|$)'