Automattic / Automattic/harper

feat: Flag "news" used as a plural or singular noun rather than an uncountable/mass noun

Open
#407 3 comments 0 reactions 0 assignees View on GitHub
enhancement grammar harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

This is common among non-native speakers whose first language is a Slavic language but probably others as well:

- Here is another news.
- There are many interesting news today.

Can be replaced by:
- news report(s)
- news story/stories
- report(s)
- piece(s) of news
- some news

Depending on context.

"Many" be replaced by "a lot of".

I'll maintain a list of examples I find in the wild here:
- In 2022 i read **a news** about Nikita Uvarov → In 2022 i read **some news** about Nikita Uvarov

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by locating the existing grammar rules for noun usage, then use the listed examples to understand the intended diagnostics and contexts. Done means the checker identifies inappropriate singular or plural uses of “news” without flagging acceptable alternatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.