Automattic / Automattic/harper
False positive: Sentence capitalization of sentence in brackets
Open
bug
harper-core
linting
- Dominant language
- Rust
- Stars
- 15.4k
- Forks
- 627
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 106
Description
**What got flagged?**
```md
I like pizza. (Well, food is nice.)
```
The word "food" with `This sentence does not start with a capital letter Harper: SentenceCapitalization`
**Why is this incorrect?**
The sentence is correct.
---
Removing the brackets, the word "food" is not falsely flagged anymore.
Contributor guide
Research direction
Start by reproducing the Markdown example and tracing the SentenceCapitalization diagnostic for sentences inside brackets. Done means the correctly capitalized sentence in parentheses is no longer falsely flagged, while the reported behavior for the equivalent text without brackets remains correct.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100