Automattic / Automattic/harper
Like vs. Such as
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
**The Error**
In conversational, spontaneous speech, we use like for pretty much everything. But technically, it’s not always correct. When you use like, you are comparing two things that are alike.
**Examples (2-3):**
1. "My cat, like every other cat, is a despicable creature"
2. "My cat has many despicable qualities, like pissing in my shoes"
**Potential Edge Cases**
None that I'm aware of.
Contributor guide
Research direction
No file, test, or entry point is named. Start by locating the grammar-rule implementation for distinguishing “like” from “such as” and compare it with existing rule tests. Done means the checker handles the stated distinction and examples without flagging valid uses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100