Automattic / Automattic/harper
False Positive: text.md suggested to be text.MD
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 106
Description
**What got flagged?**
It reports the conical spelling of "md" in harper is "MD".
**Why is this incorrect?**
It suggests the change even when md is a file extension. I understand that paths in markdown are generally inside \``, but not always, and filenames should always be lowercase.
**Example of correct usage:**
I made the install.md file like you asked.
Edit:
I'm now noticing that this applies to more than just md. For example with .zip. I think there should be a list of file extensions that get special treatment.
Contributor guide
Research direction
Start by reproducing the reported suggestions with install.md and .zip examples, then locate the spelling rule that treats file extensions as words and proposes uppercase forms. Done means lowercase filename extensions such as md and zip are not incorrectly flagged, while the issue's ordinary spelling behavior remains covered by tests.
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
- 52/100