Skip to content

feat: flag unidiomatic overuse of "highly" - #4055

Open
hippietrail wants to merge 2 commits into
Automattic:masterfrom
hippietrail:highly-flagged
Open

feat: flag unidiomatic overuse of "highly"#4055
hippietrail wants to merge 2 commits into
Automattic:masterfrom
hippietrail:highly-flagged

Conversation

@hippietrail

Copy link
Copy Markdown
Collaborator

Issues

N/A

Description

I keep seeing "highly" used as a general intensifier like "very" in all kinds of places it didn't used to be used. I made a linter for the specific case of "highly kept secret" some months ago. This linter is more general.

It includes a check against words that do commonly collocate with "highly". Any others will be flagged with "very" requested as a replacement. A second list has specific replacements for specific words.

I went back and forth with an AI on which words to include or not, starting with all instances of "highly" in my corpus of READMEs from GitHub.

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 consulted one or more coding AIs, but didn't use an agent.
  • I used an AI agent interactively.
  • I am an agent or I got an agent to do the work autonomously.

I mostly used AI for going over the word lists but I also got it to make my linter code more Rusty once my hand-coded version worked as I wanted it to.

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 14, 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