summaryrefslogtreecommitdiff
path: root/public/vale/.vale-styles/proselint/DateRedundancy.yml
blob: b1f653ea5f209c57d0847b4aaeb8f8c4a632b950 (plain) (blame)
1
2
3
4
5
6
7
8
9
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'