Skip to content

Commit

Permalink
Merge pull request #625 from hippietrail/1st-person-pronoun
Browse files Browse the repository at this point in the history
feat: clarify message for uncapitalized "I"
  • Loading branch information
elijah-potter authored Feb 10, 2025
2 parents 1d2222c + 1837391 commit 26a474f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion harper-core/src/linting/capitalize_personal_pronouns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ impl Linter for CapitalizePersonalPronouns {
span: tok.span,
lint_kind: LintKind::Capitalization,
suggestions: vec![Suggestion::ReplaceWith(vec!['I'])],
message: "First-person singular pronouns must be capitalized.".to_string(),
message: "The first-person singular subject pronoun must be capitalized."
.to_string(),
priority: 31,
});
}
Expand Down

0 comments on commit 26a474f

Please sign in to comment.