Automattic / Automattic/harper

feat: Flag forms of adjective "loose" used when forms of "lose" were meant

Open
#401 2 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

These are very common among non-native speakers and not that rare among native speakers.

I will win and you will loose. → lose
You are such a looser! → loser
I am winning and you are loosing! → losing

My browser catches all three:
Image
----
I'll add examples here from the wild as I find them:
- There is a good chance that a lot of peoppe will **loose** their jobs.
- the more the dollar will continue to **loose** value

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by finding Harper’s rule entry point and existing tests for word-form mistakes, then compare their diagnostics with the three examples. Done means the checker flags loose, looser, and loosing when lose, loser, and losing are intended, while preserving valid uses.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.