-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Labels
Description
Check for existing issues
- Completed
Environment
When using the built in https://vale.sh/docs/checks/capitalization, it fails heading checks that should be correct.
It seems to be failing on headings that contain words that are three tokens or less. AND, OR, AN, A, Git.
It fails as a action and locally.
Vale version vale version 3.9.4
GH action version: uses: errata-ai/vale-action@v2.1.1
Describe the bug / provide steps to reproduce it
Create the capitalization rule:
extends: capitalization
message: "'%s' should use title-style capitalization."
level: error
scope: heading
match: $title
style: AP
Then test against New Repository and Project
.
It wants New Repository AND Project.
ccoVeille