Automattic / Automattic/harper

z0 (Why the dist-tag can't be latest. The final dist-tag always starts with dev-<YYYYMMDD>. Suffix validation rejects anything outside [A-Za-z0-9-]. Even suffix="" produces dev-<YYYYMMDD>, not latest) maked as spelling problem

Open
#4,166 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

**What got flagged?**
z0

**Why is this incorrect?**
z0 (Why the dist-tag can't be latest. The final dist-tag always starts with dev-. Suffix validation rejects anything outside [A-Za-z0-9-]. Even suffix="" produces dev-, not latest) maked as spelling problem.

The final dist-tag cannot be "latest" because it is designed to always start with "dev-", and any suffix validation restricts it to alphanumeric characters and hyphens. Therefore, even an empty suffix results in "dev-" instead of "latest."

**Example of correct usage:**
No spelling problems.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported spelling warning for “z0” in Harper and trace which part of the grammar checker reports it. The issue does not name a file or test; done means the supplied text no longer produces an incorrect spelling problem while valid spelling checks remain unaffected.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.