Automattic / Automattic/harper
Za (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 spelling problem
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 102
Description
**What got flagged?**
Za
**Why is this incorrect?**
Za (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 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
Research direction
Start by reproducing the spelling warning for “Za” in the Harper checker and inspect how the reported text is classified. Confirm that the dist-tag explanation is not flagged as a spelling problem, then add or update coverage for this example and run the relevant test suite.
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