Automattic / Automattic/harper

" (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) marked as formatting problem

Open
#4,168 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?**
"

**Why is this incorrect?**
" (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) marked as formatting problem. (Second ".)

Yes, 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 formatting problems.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reproducing the quoted dist-tag text in Harper and identify the formatting diagnostic that flags it; done means this valid wording is no longer reported as a formatting problem.

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.