Automattic / Automattic/harper
False positive: In "built in debug mode", "built in" is wrongly flagged to change to hyphenated "built-in"
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?**
> This `raddbg.exe` will have been built in **debug mode**, which is not built
**Why is this incorrect?**
This sentence does not talk about a kind of debug mode which is "built in". It talks about which mode the exe was built in. Thus the `in` associates with `mode` and not with `built'.
Contributor guide
Research direction
Reproduce the report using the sentence containing “built in debug mode” and inspect Harper’s grammar-checking rules and tests for hyphenation. The fix is done when this usage is not flagged, while genuine adjectival uses of “built-in” remain covered by tests.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100