Automattic / Automattic/harper

The mass noun linter wrongly flags compound nouns that include a verb

Open
#1,866 0 comments 1 reaction 0 assignees View on GitHub
bug harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
102

Description

**What got flagged?**

Image

**Why is this incorrect?**

The linter checks for a second noun following the mass noun, but in this case the word following is a verb.
But including the subsequent noun seems to make it a correct noun phrase or compound noun and hence not a grammatical error.

The backticks might actually hide the verb from the linter in any case?

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Reproduce the mass-noun warning from the attached example, then inspect how the linter handles a verb followed by a noun and text in backticks. Done means the compound noun no longer produces a false positive while valid mass-noun warnings remain.

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
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.