amperser / proselint

A linter for prose.
http://proselint.com
BSD 3-Clause "New" or "Revised" License
4.36k stars 179 forks source link

"In the meantime" and "meanwhile" conflict? #1379

Open sanjayankur31 opened 3 weeks ago

sanjayankur31 commented 3 weeks ago

A very minor issue I just noticed:

I used "In the meantime" in some text and got warned: '"Meanwhile" is the preferred form'. So, I changed it to "In the meanwhile" but then I get '"in the meantime" is the preferred form'.

Here's a simple test file:

Yes.
In the meanwhile, something happened.

That's OK.
In the meantime, something else happened.

Running proselint says:

proselint test.md 
test.md:2:1: garner.preferred_forms 'in the meantime' is the preferred form.
test.md:5:8: garner.preferred_forms 'Meanwhile,' is the preferred form.

I guess if it's "in the meantime", the "Meanwhile" check should not run, but I'm not sure how proselint implements the checks and whether this is possible.