Automattic / Automattic/harper

Detect `form` when `from` was meant

Open
#3,068 1 comment 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

**The Error**
Detect `form` when `from` was meant. an example situation: correct ` form ` to ` from `

**Examples (2-3):**
1. `Randomly select form the valid actions` -> `Randomly select from the valid actions`
2. `I came form the streets` -> `I came from the streets`

**References**
N/A

**Potential Edge Cases**
N/A

I don't realy know how else to explain this if more context is needed lmk. thanks.

Contributor guide

Open the contributing guide

Research direction

No file or test entry point is named. Start by finding the grammar-checking rule or test coverage for mistyped words, then run the checker on the two examples in the issue. Done means it flags “form” when “from” is intended without changing valid uses of “form”.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.