Automattic / Automattic/harper

False negative: "breath" used when "breathe" intended is not always flagged

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

Description

Image

The `NounVerbConfusion` linter handles mixing up "breath" and "breathe" but it fails to catch it in this context.

Contributor guide

Open the contributing guide

Research direction

Start by reading the NounVerbConfusion linter and reproduce the false negative using the context shown in the attached image. Add a regression test for that context and verify that the linter flags the intended use of “breath” versus “breathe” without breaking existing cases.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.