summaryrefslogtreecommitdiff
path: root/.github/styles/Google/Periods.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/styles/Google/Periods.yml')
-rw-r--r--.github/styles/Google/Periods.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/styles/Google/Periods.yml b/.github/styles/Google/Periods.yml
new file mode 100644
index 00000000..d24a6a6c
--- /dev/null
+++ b/.github/styles/Google/Periods.yml
@@ -0,0 +1,7 @@
+extends: existence
+message: "Don't use periods with acronyms or initialisms such as '%s'."
+link: 'https://developers.google.com/style/abbreviations'
+level: error
+nonword: true
+tokens:
+ - '\b(?:[A-Z]\.){3,}'