Automattic / Automattic/harper

Style: insert "to" to complete the infinitive wrong

Open
#4,132 0 comments 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?**
Image

“Ishethra,” says one who wears those ludicrous sunglasses and swim trunks, his mundane mortal flesh rune-carved, abs lined with ridges. “You’re under arrest for racketeering and attempted murder of Alek Suvor.”

"attempted" was flagged as a style issue.

**Why is this incorrect?**
- The text is in dialog
- The text is still gramatically connect. Maybe a "the" could be added before attempted, but still fine

**Example of correct usage:**
See text below screenshot

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the flagged sentence in Harper and identify which style check marks “attempted” as incorrect. Compare the result with the issue’s dialog context and example; it is done when this valid phrasing is no longer incorrectly flagged without weakening the intended style checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.