diff --git a/.github/vale/styles/OpenSearch/HeadingCapitalization.yml b/.github/vale/styles/OpenSearch/HeadingCapitalization.yml index a6b80b9d..d0fd802e 100644 --- a/.github/vale/styles/OpenSearch/HeadingCapitalization.yml +++ b/.github/vale/styles/OpenSearch/HeadingCapitalization.yml @@ -6,5 +6,7 @@ match: $sentence threshold: 1 indicators: - ":" + - "." + - ")" exceptions: - k # ignores lowercase k-NN \ No newline at end of file diff --git a/.github/vale/tests/test-headings.md b/.github/vale/tests/test-headings.md index 6991caf1..7d16ca15 100644 --- a/.github/vale/tests/test-headings.md +++ b/.github/vale/tests/test-headings.md @@ -30,6 +30,10 @@ --- +# 1. This should not be flagged + +--- + # Example: should be flagged --- diff --git a/.vale.ini b/.vale.ini index 2b195b4d..c339995b 100644 --- a/.vale.ini +++ b/.vale.ini @@ -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