summaryrefslogtreecommitdiff
path: root/ci/vale/Google/AMPM.yml
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2019-10-14 21:28:29 +0200
committerRobert Göhler <github@ghlr.de>2019-10-14 21:28:29 +0200
commitf5f5780c2c02e62fa638fcf9cd95915de64aa9c3 (patch)
treedf55ead99df93d81cda292bcdb1ceb1d1e477f5f /ci/vale/Google/AMPM.yml
parent61d3f942485704c55d0e8d9e7ac5507ee752fe6d (diff)
downloadvyos-documentation-f5f5780c2c02e62fa638fcf9cd95915de64aa9c3.tar.gz
vyos-documentation-f5f5780c2c02e62fa638fcf9cd95915de64aa9c3.zip
T1731: 1st version to test vale
Diffstat (limited to 'ci/vale/Google/AMPM.yml')
-rw-r--r--ci/vale/Google/AMPM.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/vale/Google/AMPM.yml b/ci/vale/Google/AMPM.yml
new file mode 100644
index 00000000..fbdc6e4f
--- /dev/null
+++ b/ci/vale/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]\.'