Skip to content

Comments

feat: wip: do a mistake→make a mistake#2463

Open
hippietrail wants to merge 4 commits intoAutomattic:masterfrom
hippietrail:do-a-mistake
Open

feat: wip: do a mistake→make a mistake#2463
hippietrail wants to merge 4 commits intoAutomattic:masterfrom
hippietrail:do-a-mistake

Conversation

@hippietrail
Copy link
Collaborator

@hippietrail hippietrail commented Jan 11, 2026

Issues

N/A

Description

Early work-in-progress for the common nonnative error "do a mistake" instead of "make a mistake".

I also added a helper method followed_by_word for checking the next word in the context and I applied it and a sibling methd preceded_by_word to half a dozen other linters.

How Has This Been Tested?

Unit tests from sentences found on GitHub and other techy websites.

Checklist

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

@hippietrail hippietrail added linting grammar An issue related to higher-level grammar checking labels Feb 22, 2026
@hippietrail hippietrail marked this pull request as ready for review February 22, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

grammar An issue related to higher-level grammar checking linting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant