From 0b7186eac839b8690f8951aca4fc2657944ab3b6 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Thu, 12 Oct 2023 14:23:12 +0200 Subject: Add vale --- public/vale/.vale-styles/proselint/DateRedundancy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 public/vale/.vale-styles/proselint/DateRedundancy.yml (limited to 'public/vale/.vale-styles/proselint/DateRedundancy.yml') 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' -- cgit v1.2.3