Automattic / Automattic/harper
Oddly flags "Pi OS" to be changed to "PiOs"
Open
bug
harper-core
linting
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
**What got flagged?**
**Why is this incorrect?**
It turns out `PIO` is in the dictionary and has a plural, but that shouldn't override `Pi` followed by `OS`. The lettercase combos of the document words and the dictionary word should probably be taken into account.
Contributor guide
Research direction
Start by reproducing the flag on the phrase “Pi OS” and inspect the dictionary matching and case-comparison logic involved in recognizing “PIO.” Done means “Pi OS” is no longer flagged as “PiOs” while the existing plural handling for the dictionary word PIO remains correct.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100