Automattic / Automattic/harper

SplitWords false positive: "absense" should probably be written as ab sense.

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

Description

**What got flagged?**

"In the absense of external encoding information, the XML parser needs to determine the encoding from the XML declaration."

Harper flags:
"absense" should probably be written as "ab sense".

**Why is this incorrect?**
"Absense" is a proper word.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SplitWords rule and its associated tests in the Harper repository, then reproduce the warning for the quoted XML sentence. Add a regression case covering "absense" and verify that the intended wording is no longer flagged incorrectly.

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
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.