Automattic / Automattic/harper

False negative: Doesn't flag "show case" to become "showcase" in some real-word contextx

Open
#3,887 6 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)
106

Description

I noticed a comment on another GitHub project that used "show case" instead of "showcase" but Harper doesn't flag it. I was able to craft another context in which Harper does flag it.

Image

Not the green dotted underline is Chrome flagging this. It's also worth noting that this context does not appear to be native English so it's hard to guess how common uses similar enough to this one are. Need to check if a naïve implementation will result in false positives.

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by reproducing the reported flagged and unflagged contexts in Harper, then locate the existing handling for “show case” and add regression coverage. Done means the intended context is flagged while similar legitimate uses do not produce false positives.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.