Automattic / Automattic/harper

Unknown initialisms/acronyms are marked as spelling errors

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

Description

**What got flagged?**
Multiple all-capital `RMS` (Root Mean Squared) as well as all-capital `UT` representing a domain specific acronym, are marked with "Did you mean to spell `<>` this way?"

**Why is this incorrect?**
RMS is a common engineering term of art, and user-specific initialisms and acronyms should either be treated as such or have a distinct dictionary to inform harper they are not spelling errors.

**Example of correct usage:**
N/A

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the spelling diagnostics for the all-capital terms `RMS` and `UT` and trace the acronym handling in Harper. The issue does not name files or tests; done requires agreeing on whether unknown initialisms are accepted or supported through a distinct dictionary, then verifying that these examples are no longer flagged incorrectly.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.