Automattic / Automattic/harper

False positive: "a polarizing" flagged for being a mass noun but it's also an adjective in a list

Open
#3,206 0 comments 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)
106

Description

Image

> This dude went from a reasonable and cool European/Danish builder to a polarizing, cocky jerk

"A polarizing" on its own would indeed be some kind of error. But ***present participles*** are verbs in their -ing form which behave as adjectives. The same verb form can behave as a noun called a ***gerund*** and those are (almost?) always mass nouns.

In this case we can disambiguate that it's used as a present participle adjective by the fact that it's followed by a comma and then another adjective.

Contributor guide

Open the contributing guide

Research direction

The issue does not name a source file, test, or entry point. Start by locating the mass-noun rule and its tests, then verify that the reported phrase is not flagged while comparable mass-noun uses remain covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.