Automattic / Automattic/harper
The 'mass noun' linter wrongly flags "both" before lists.
Open
bug
harper-core
linting
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 106
Description
**What got flagged?**
**Why is this incorrect?**
Because the noun "readability" is not alone but is followed by "and" and another noun, making "both" correct.
Contributor guide
Research direction
Reproduce the reported warning for "both" before a coordinated list, then locate the mass noun linter rule and its existing tests. Check how the rule handles a noun followed by "and" and another noun; done means the valid construction is no longer flagged while the rule's intended warnings remain covered by tests.
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
- 55/100