elijah-potter / harper

The Grammar Checker for Developers
https://writewithharper.com
Apache License 2.0
1.93k stars 36 forks source link

`sentence_capitalization` should only be applied to actual sentences #228

Open chrisgrieser opened 1 month ago

chrisgrieser commented 1 month ago

Right now, sentence_capitalization is applied to all comments, regardless whether that comment is actually a sentence, a word, or commented out code. This leads to a lot of false positives, making sentence_capitalization for me pretty much unusable outside of markdown files:

Pasted image 2024-10-16 at 17 09 13@2x