Automattic / Automattic/harper

Insert `to` to complete the infinitive (e.g., `need to talk`).

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

Description

**What got flagged?**
[…] and thus don't need unsafe stack frames to be created. ■ Insert `to` to complete the infinitive (e.g., `need to talk`).

**Why is this incorrect?**
The `to` is present, but later in the sentence

Contributor guide

Open the contributing guide

Research direction

The report names no file or test. Reproduce the quoted sentence in Harper, then trace the rule that emits the infinitive warning and determine why a later “to” is missed. Done means the sentence is no longer flagged incorrectly and a regression test covers it.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.