Suppress heading capitalization rule (#5775)

* Start applying heading capitalization rules after a period

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

* Suppress heading capitalization rule

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-12-04 12:25:09 -05:00 committed by GitHub
parent 812ad0ffbd
commit 0d08349836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -6,5 +6,7 @@ match: $sentence
threshold: 1
indicators:
- ":"
- "."
- ")"
exceptions:
- k # ignores lowercase k-NN

View File

@ -30,6 +30,10 @@
---
# 1. This should not be flagged
---
# Example: should be flagged
---

View File

@ -30,7 +30,7 @@ OpenSearch.FailoverNoun = YES
OpenSearch.FailoverVerb = YES
OpenSearch.FutureTense = NO
OpenSearch.HeadingAcronyms = YES
OpenSearch.HeadingCapitalization = YES
OpenSearch.HeadingCapitalization = NO
OpenSearch.HeadingColon = YES
OpenSearch.HeadingPunctuation = YES
OpenSearch.Inclusive = YES