Automattic / Automattic/harper

False Positive: `Part A of..` -> `Part a of..` (`UseTitleCase`)

Open
#3,167 3 comments 1 reaction 0 assignees View on GitHub
bug harper-core linting
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

**What got flagged?**
`## Part A of the Parts` corrected to `## Part 1 a of the Parts` by `UseTitleCase`.

**Why is this incorrect?**
`A` is not being used as a preposition or a determiner - it is being used as a pronoun - and therefore should be capitalized.

**Example of correct usage:**
```md
## Part A of the Parts
```

Contributor guide

Open the contributing guide

Research direction

The issue identifies the UseTitleCase rule and provides the incorrect and expected Markdown headings; locate that rule and its existing tests first. Add coverage showing that “A” in “Part A of the Parts” remains capitalized, then run the rule’s tests and confirm the heading is unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.