Skip to content

Configure Vale to ignore comments #61

Open
@m4sterbunny

Description

@m4sterbunny

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions