Skip to content

Comments

chore: add "one fowl swoop" to "one foul swoop", rename from InOneFellSwoop#2758

Open
hippietrail wants to merge 2 commits intoAutomattic:masterfrom
hippietrail:one-foul-swoop-again
Open

chore: add "one fowl swoop" to "one foul swoop", rename from InOneFellSwoop#2758
hippietrail wants to merge 2 commits intoAutomattic:masterfrom
hippietrail:one-foul-swoop-again

Conversation

@hippietrail
Copy link
Collaborator

@hippietrail hippietrail commented Feb 19, 2026

Issues

N/A

Description

I noticed that the Weir rule to correct "one fell swoop" only expected the mistake to be "one foul swoop", but "one fowl swoop" is also pretty common.

While working on that I noticed that among the examples I was finding for potential unit tests that "with one fell" swoop was also common. So I renamed the rule to "OneFellSwoop" and removed the preposition from the rule so that it will work in more contexts.

I also noticed there were no tests for the "foul" version so I found and added a unit test for that one too.

How Has This Been Tested?

Two new unit tests, one for each variant.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

@hippietrail hippietrail changed the title chore: add "one fowl swoop" to "one foul swoop" and rename from "in o… chore: add "one fowl swoop" to "one foul swoop", rename from InOneFellSwoop Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant