Automattic / Automattic/harper

Need to flag mixing up "of" and "off"

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

Description

This is common even among native speakers. It's often a spelling mistake by people that don't always know which is which, but it's probably a typo by people who do know but their fingers did the wrong thing.

We do address this in some idiomatic uses such as "of course" vs "off course", but it can happen anywhere.

Real world examples:
- It would be nice if the extension could turn **of** for some pages automatically and stay on most of the time.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing spelling or grammar rules that handle similar word confusions, then trace how their diagnostics are tested. Add coverage for “of” and “off” in the reported example and comparable contexts, and confirm that valid uses of both words remain unflagged.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.