Skip to content

feat: mixing up "averse" and "avert" - #3940

Open
hippietrail wants to merge 5 commits into
Automattic:masterfrom
hippietrail:averse-avert
Open

feat: mixing up "averse" and "avert"#3940
hippietrail wants to merge 5 commits into
Automattic:masterfrom
hippietrail:averse-avert

Conversation

@hippietrail

Copy link
Copy Markdown
Collaborator

Issues

N/A

Description

I read a comment on an Internet thread somewhere that mixed up "averse" and "avert" and began researching.
I found several contexts for both directions.

This PR includes a new Pattern, ContractionOfBe to go along with InflectionOfBe. There's several linters this could be backported to.

I have not yet looked into including "adverse". I'm not sure whether that would be better as a separate linter or making part of this one. If all three are confused with each other, they should be combined. If only two pairs are confused and the third pair is not (avert vs adverse) then separate is probably best.

How Has This Been Tested?

cargo test

AI Disclosure

  • I am a human and didn't use any AI.
  • I used LLM features of my editor, but not an agent.
  • I used an AI agent interactively.
  • I am an agent or I got an agent to do the work autonomously.

If Your PR Implements or Enhances a Linter

  • I made up the sentences in the unit tests.
  • The sentences in the unit tests were generated by an AI.
  • I'm using examples from the bug report / feature request.
  • I collected real-world sentences for the unit tests.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have considered splitting this into smaller pull requests.

@hippietrail hippietrail added enhancement New feature or request rust Pull requests that update Rust code linting Related to lint rules and linter execution labels Aug 2, 2026
@hippietrail
hippietrail marked this pull request as ready for review August 2, 2026 16:09
@hippietrail hippietrail changed the title feat: mixing up "averse" and "avert" (work in progress) feat: mixing up "averse" and "avert" Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request linting Related to lint rules and linter execution rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant