Automattic / Automattic/harper

False positive: Wrongly flagging "public" as a mass noun when it's an adjective

Open
#2,011 1 comment 0 reactions 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

> includes one public customizable status page with an SSL subdomain.

**Why is this incorrect?**

A mass noun after "one" (if it's not also a count noun) would be an error, as in "one equipment".
But in this case "public" is also an adjective qualifying "status page".

Contributor guide

Open the contributing guide

Research direction

Reproduce the quoted sentence in Harper and confirm that “public” is being flagged as a mass noun. Locate the Rust grammar rule or entry point producing the diagnostic; done means the adjective use is accepted while a genuine mass-noun error such as “one equipment” remains flagged.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.