summaryrefslogtreecommitdiff
path: root/ci/vale/Google/AMPM.yml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-16 15:33:01 +0200
committerGitHub <noreply@github.com>2019-10-16 15:33:01 +0200
commit9982023728283b6212bf8820f8634a10c1764317 (patch)
tree50213104350fdd50b78c8c3e4c03019c8bc9c266 /ci/vale/Google/AMPM.yml
parentd5400cd2822539c2e0a1416fa728b942a3cb1b9f (diff)
parentd59ccf6c896c7ae5a5604bc66d79357584745f79 (diff)
downloadvyos-documentation-9982023728283b6212bf8820f8634a10c1764317.tar.gz
vyos-documentation-9982023728283b6212bf8820f8634a10c1764317.zip
Merge pull request #130 from rebortg/vale
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]\.'