summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/proselint/DateRedundancy.yml
diff options
context:
space:
mode:
Diffstat (limited to 'public/vale/.vale-styles/proselint/DateRedundancy.yml')
-rw-r--r--public/vale/.vale-styles/proselint/DateRedundancy.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/vale/.vale-styles/proselint/DateRedundancy.yml b/public/vale/.vale-styles/proselint/DateRedundancy.yml
new file mode 100644
index 0000000..b1f653e
--- /dev/null
+++ b/public/vale/.vale-styles/proselint/DateRedundancy.yml
@@ -0,0 +1,10 @@
+extends: existence
+message: "'a.m.' is always morning; 'p.m.' is always night."
+ignorecase: true
+level: error
+nonword: true
+tokens:
+ - '\d{1,2} ?a\.?m\.? in the morning'
+ - '\d{1,2} ?p\.?m\.? in the evening'
+ - '\d{1,2} ?p\.?m\.? at night'
+ - '\d{1,2} ?p\.?m\.? in the afternoon'