Ignore acronyms in headings (#5833)

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-12-11 15:48:06 -05:00 committed by GitHub
parent 9865f67c17
commit e3ec9dedc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@ message: "'%s' is a heading and should be in sentence case."
level: error
scope: heading
match: $sentence
threshold: 1
indicators:
- ":"
- "."
- ")"
exceptions:
- k # ignores lowercase k-NN
- k # ignores lowercase k-NN
- '[A-Z]{2,}' # ignores all acronyms