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

Configure Vale to ignore comments #61

Open
m4sterbunny opened this issue Oct 29, 2024 · 0 comments
Open

Configure Vale to ignore comments #61

m4sterbunny opened this issue Oct 29, 2024 · 0 comments

Comments

@m4sterbunny
Copy link
Contributor

m4sterbunny commented Oct 29, 2024

It should be possible to reduce false positives by ignoring text in comments:

Try IgnoredScopes and TokenIgnores in the .vale.ini file:

For YAML (# comments):

[.{yaml,yml}]
TokenIgnores = (#.
)

For Markdown ( comments):

[*.{md}]
BlockIgnores = <!--(.*?)-->

https://vale.sh/docs/topics/config

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

No branches or pull requests

1 participant