Automattic / Automattic/harper

ALL CAPS text causes weird diagnostics

Open
#939 4 comments 3 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

## Description

example in screenshot

![Image](https://github.com/user-attachments/assets/3ca38bdf-71a1-4063-9d89-b38bca9d6e43)

All caps version of the text causes harper to want to incorrectly replace "A" with "An"

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the all-caps example from the attached screenshot and inspect where Harper generates the diagnostic that replaces “A” with “An.” The issue names no source files or tests; done means the all-caps text no longer receives this incorrect replacement while normal diagnostics still work.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.