Automattic / Automattic/harper
False positive: `InsertTo` wrongly triggered in "He wants code"
Open
bug
harper-core
linting
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 106
Description
> He wants code that matches his style and says he will only merge it if it looks good enough.
This is surely due to "code" being a verb as well as a noun and the linter probably only checking for it being a verb.
Contributor guide
Research direction
Start by reproducing the quoted sentence and trace the InsertTo rule that flags “code.” Determine why the rule treats this noun usage as a verb, then verify the sentence is no longer flagged without disrupting the rule’s intended detections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100