Automattic / Automattic/harper
False positive in `ToTwoToo`
Open
bug
harper-core
linting
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
> workplace environments that are not family-friendly (particularly for women), and limited access to affordable, high-quality childcare
It seems to think "to affordable" should be "too affordable" because "affordable" is an adjective. Perhaps checking for the following comma might help?
Contributor guide
Research direction
Start by locating the `ToTwoToo` rule in the Harper codebase and reproduce it with the quoted phrase, especially the transition from "to" to "affordable." The issue is done when that phrase no longer produces the false positive while valid "too" cases continue to be recognized.
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
- 58/100