Skip to content

feat: cache 22/cash 22→catch 22#3548

Merged
elijah-potter merged 4 commits into
Automattic:masterfrom
hippietrail:catch-22
Jun 4, 2026
Merged

feat: cache 22/cash 22→catch 22#3548
elijah-potter merged 4 commits into
Automattic:masterfrom
hippietrail:catch-22

Conversation

@hippietrail
Copy link
Copy Markdown
Collaborator

Issues

N/A

Description

I heard what sounded like "cache 22" or "cash 22" in a YouTube video and wondered if that might be a real mistake out there.
The "cache" spelling is widespread in tech contexts. It's a mix of project names, wordplay, and plain old mistakes.
The "cash" spelling is absent in tech contexts but is on the wider web. Perhaps more common in automatically transcribed (STT).

This linter works with the number "22" and the wording "twenty two", both with and without hyphenation.

If false positives are found to be common, I can tweak it to only work on all-lowercase for the "22" version.

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 changed the title feat: cache/cash 22→catch 22 feat: cache 22/cash 22→catch 22 May 30, 2026
# Conflicts:
#	harper-core/default_config.json
@elijah-potter elijah-potter enabled auto-merge June 4, 2026 18:11
@elijah-potter elijah-potter added this pull request to the merge queue Jun 4, 2026
Merged via the queue into Automattic:master with commit 9219ca4 Jun 4, 2026
12 checks passed
@hippietrail hippietrail deleted the catch-22 branch June 4, 2026 19:52
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.

2 participants