Automattic / Automattic/harper
False Positive: 'wanted revenge' -> 'wanted to revenge' (`MissingTo`
Open
bug
harper-core
linting
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 106
Description
**What got flagged?**
`wanted`
**Why is this incorrect?**
'revenge' - here - is being used as a noun, rather than an adjective.
**Example of correct usage:**
```md
He wanted revenge.
```
Contributor guide
Research direction
Start by locating the MissingTo rule and its existing tests, then reproduce the report with the example sentence “He wanted revenge.” Confirm that the rule distinguishes revenge used as a noun from cases that require “to,” and add or update coverage so this sentence is no longer flagged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100