Automattic / Automattic/harper

Needs to flag mixing up "head off", "heed off", and "heed of"

Open
#3,932 0 comments 0 reactions 0 assignees View on GitHub
enhancement harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

I heard somebody pronounce "head off" as "heed off" on YouTube and investigated if it was common.
Turns out to be a set of problems with both "heed" vs "head" and "of" vs "off"

# True positives

## ‘heed off’ should be ‘head off’ (or maybe ‘ward off’?):
- The Yozakura Family have to get stronger, way stronger to **heed off** this threat, so we'll see the final results of their training next time!
- Essentially, you **heed off** their antisemitism by performatively cutting off ties with Israel
- just to **heed off** future responses, when we take outside food (or alcohol) from customers
- I'm hoping it'll at least **heed off** some complaints down the line.
- To **heed off** this trend the Faculty is seeking to hire new high-quality researchers.
- Despite this, they are fighting tooth and nail to **heed off** the threat.
- what road to take to **heed off** this increasingly alarming emergency
- Where others have gone to ignorance to **heed off** such pain, I had no such ability.
- people who can successfuly **heed off** even prediabetes from happening with lifestyle alone
- Is to protect other refs and try **heed off** discussions about refs making decisions with Bias.
- Despite this, they are fighting tooth and nail to **heed off** the threat.
- Any of these options could have **heeded off** the potential of him escaping
- Or should I send an email to GSI to try to **heed off** any potential negative impact now before it happens?
- get yourself in front of a client and **heed off** that discontent
- And, just to **heed off** replies, I do not believe having the ...
- without anything bigger than a Gozanti to **heed off** the Corvette's we're going to struggle there
- if you are serious about infrastructure investments to **heed off** this recession
- I've tried to dream feed around 9:45/10pm to **heed off** the first wakeup
- They committed to lockdowns in March to **heed off** a poorly known disease
- Unifies both Targaryen claims under one heir, which will **heed off** an immediate succession crisis
- doing their due diligence to **heed off** problems before they occur
- The good news is that there are many ways we can act to **heed off** this future.
- exhausted and barely able to **heed off** flare ups of alopecia areata
- trying to **heed off** a potential conflict flashpoint.
- to **heed off** the next argument: there was a debate amongst tye rabbis

## ‘heed’ is a (possibly intentional humorous dialectal?) misspelling of ‘head’:
- spicy lemon/sage tongue tingler taste lol blew the **heed off** me too it was fantastic
- Feth, he was like to ha' snapped the **heed off** me
- ive been ripping the **heed off** it for more than that mate
- when I stand up, they're concerned for my safety in case the ball takes my **heed off**
- You may want to try this to help **heed off** dehydration.
- it is called Big Climb and it will blow your fucking **heed off**
- I was toting one as I **heed off** to the headwaters of Tagoloan River in Malaybalay City for the Panendan
- We **heed off** to the punt Regatta.
- they're going to want to rip each others **heed off**, right?!?
- Smacking your **heed off** a wall is best done with a helmet on as I found out!
- I hope Usyk boxes his **heed off**.
- Im all for cleaning up the El, and getting the crack **heeds off** the street
- Felt like the helmet was gonna rip my **heed off** whilst checking my mirrors.
- Aal pure borst ya lips And blaa ya **heed off**
- Thanks to my youngest screaming his **heed off** for a few hours the other night
- its impossible not to just smile yer' **heed off** in their presence
- Increases str and AP but it also has a chance to blow your **heed off**

## ‘heed off’ should be ‘heed of’:
- A reminder everyone needs to take **heed off**, no matter the job.
- lessons that social media companies didn’t take **heed off** in the first ten years of their lives
- I mostly took **heed off** of madness combat due to thy wasteland/grimy feelings to it.
- A reminder everyone needs to take **heed off**, no matter the job.
- I just hope y'all take **heed off** my example and avoid these lol.
- His response was one which we should all take **heed off**
- And this is something that we not even taking **heed off**.
- I'll take **heed off** your advice.
- You may refuse, **heed off** warnings from friends, family members 👉 take heed of
- And so what is it that God's saying to you today that you might need to take **heed off** that you don't end up in a place worse off in the future?

## ‘heed off’ should be ‘ward off’
- makes me think the human made these… dolls to **heed off** predators in the wild
- blue is a color used for protection and **heeds off** negative energy
- They work like a charm, inexpensive and help **heed off** odors too.
- Back when illness could be **heeded off** or cured by amulets or masked dances
- Sour kraut, beet kavass, etc you use salt or whey to **heed off** the bad bugs and let the natural enzymes ferment it.

## ‘head of’ should be ‘heed of’:
- The consumers of the initial release had better take **head of** the phrases "Anything MAY change at any time.
- Android Studion - theyve really taken **head of** developers.
- Most engineers should take **head of** reason three

# Potential false positives to avoid

## ‘take head of’ is just shorthand for ‘take the head of’
- cannot **take head of** empty list
- **take head of** queue and prepend to parse queue
- Added the function corner() which **takes head of** rows and columns of objects.
- **take head of** the tree and traverse it
- Can't **take head of** empty collection
- ;; else **take head of** list
- it **takes head of** List and prints the linked list in output terminal
- bind takes the whole argument sent,; first **takes head of** the argument
- I **take head of** original list by value and assign it to L
- **Take head of** the list; Compare head with remaining N-1 elements in the list;

# Too ambiguous to confidently classify:
- Flutter tooling should **take head of** archivesBaseName 👉 take heed of? / take the head of?
- if it's a nested Node, **take head of** Node's content 👉 take heed of? / take the head of?

Contributor guide

Open the contributing guide

Research direction

Use the listed true-positive, false-positive, and ambiguous examples as the acceptance corpus; first locate the existing rule or test for phrase confusions. Done means the intended “head off,” “heed of,” “ward off,” and “head of” mistakes are flagged without reporting the listed programming-language uses of “take head of.”

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.