Automattic / Automattic/harper

False positive: WayTooAdjective for "provides a way to quickly test"

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

Description

**What got flagged?**
```
84 │ The template editor provides a way to quickly test templates prior to placing them into automations and scripts. A code editor is on the left side and your real-time output is displayed in the preview on the right side.
│ ─┬
│ ╰── [Miscellaneous::WayTooAdjective] (pri 25): Did you mean “too”?
```

**Why is this incorrect?**

"Way to" is correct and intended here.

**Example of correct usage:**

The original text above.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Miscellaneous::WayTooAdjective rule and reproduce the reported sentence, especially the intended “way to” usage. The issue is done when this sentence no longer produces a false positive and the rule’s existing tests still pass.

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
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.