summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/Google/AMPM.yml
diff options
context:
space:
mode:
authorChristian Segundo2023-10-12 14:23:12 +0200
committerChristian Segundo2023-10-12 14:23:12 +0200
commit0b7186eac839b8690f8951aca4fc2657944ab3b6 (patch)
treea37e56d651d80f0876dc531600ca9a25d723fd02 /public/vale/.vale-styles/Google/AMPM.yml
parent3a974be2bf6ecace920add9b80f0c63b3e235dc6 (diff)
downloaddotfiles-0b7186eac839b8690f8951aca4fc2657944ab3b6.tar.gz
Add vale
Diffstat (limited to 'public/vale/.vale-styles/Google/AMPM.yml')
-rw-r--r--public/vale/.vale-styles/Google/AMPM.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/Google/AMPM.yml b/public/vale/.vale-styles/Google/AMPM.yml
new file mode 100644
index 0000000..fbdc6e4
--- /dev/null
+++ b/public/vale/.vale-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]\.'