Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vale not checking heading correctly using capitalization #960

Open
1 task done
tjperry07 opened this issue Feb 3, 2025 · 1 comment
Open
1 task done

Vale not checking heading correctly using capitalization #960

tjperry07 opened this issue Feb 3, 2025 · 1 comment

Comments

@tjperry07
Copy link

tjperry07 commented Feb 3, 2025

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/[email protected]

Image

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.

@jdkato
Copy link
Member

jdkato commented Feb 3, 2025

I can't reproduce this.

Can you share your .vale.ini and any relevant vocabularies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants