Automattic / Automattic/harper

False positive: 'PR' and username '@xxx' flagged

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

Description

## Description

Example:
`Thank you for the PR @hippietrail`

Both PR and the username are flagged. I would expect that:

- `PR` is being recognised as a valid abbreviation (both Pull Request and Public Relations are common)
- whatever comes in a single token starting with @ is not being checked for correctness

## Screenshots

Image

Contributor guide

Open the contributing guide

Research direction

Reproduce the example text `Thank you for the PR @hippietrail}` and inspect the grammar-checking path that flags the abbreviation and the @-prefixed token. Done means `PR` is accepted as a common abbreviation and the single-token username is skipped without producing either diagnostic; add or update regression coverage if the project’s existing test structure identifies a suitable location.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.