Automattic / Automattic/harper

Need to flag indefinite article vs noun number agreement error

Open
#3,286 10 comments 2 reactions 1 assignee Claimed by @azmifarih View on GitHub
agreement enhancement good first issue grammar harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

Some real-world grammar problems from our Discord that Harper doesn't flag:

Image

> ... but I have included **a** notic**es** on my landing ...

"**a notices**" should be either "**a notice**" or "**notices**" (or "**some notices**")

Agreement is hard because there are so many factors and nouns, verbs, and other POSes can all be phrases as well as verbs.

But I'm starting to think that we could tackle agreement problems piecemeal as we encounter the most common ones, by using merged linters of small parts that handle one focused case each.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.