Automattic / Automattic/harper

"Notwithstanding" can be a legit preposition but is always flagged as a discourse marker

Open
#4,302 0 comments 0 reactions 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)
106

Description

Image

I'm not sure how easy this will be to disambiguate. Maybe `DiscourseMarkers` needs a param/enum to indicate its certainly and hedge in its `message` when it can't disambiguate.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported flag for “notwithstanding” and inspect the DiscourseMarkers entry or implementation that classifies it. Determine how legitimate prepositional uses can be distinguished, then verify that those uses are no longer always flagged and that uncertain cases communicate appropriate certainty or hedging.

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
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.