summaryrefslogtreecommitdiff
path: root/.github/styles/Google/AMPM.yml
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2020-11-26 21:49:14 +0100
committerrebortg <github@ghlr.de>2020-11-26 21:49:14 +0100
commitba76cefc39e0b9b50dd8416e76f4d3e6f6ce8aff (patch)
tree56791f75f9c175e1cf8a60a03da36005ae9a6cd9 /.github/styles/Google/AMPM.yml
parent4bc9e94a7ad57ee6735533da59a808dc8caf3ba5 (diff)
downloadvyos-documentation-ba76cefc39e0b9b50dd8416e76f4d3e6f6ce8aff.tar.gz
vyos-documentation-ba76cefc39e0b9b50dd8416e76f4d3e6f6ce8aff.zip
add github actions
Diffstat (limited to '.github/styles/Google/AMPM.yml')
-rw-r--r--.github/styles/Google/AMPM.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/styles/Google/AMPM.yml b/.github/styles/Google/AMPM.yml
new file mode 100644
index 00000000..fbdc6e4f
--- /dev/null
+++ b/.github/styles/Google/AMPM.yml
@@ -0,0 +1,9 @@
+extends: existence
+message: "Use 'AM' or 'PM' (preceded by a space)."
+link: 'https://developers.google.com/style/word-list'
+level: error
+nonword: true
+tokens:
+ - '\d{1,2}[AP]M'
+ - '\d{1,2} ?[ap]m'
+ - '\d{1,2} ?[aApP]\.[mM]\.'