Ignore acronyms in headings (#5833)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
parent
9865f67c17
commit
e3ec9dedc2
|
@ -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
|
Loading…
Reference in New Issue