Skip to content

Vale is picking up errors for stuff in code blocks in GitHub markdown #387

@ramyaparimi

Description

@ramyaparimi
  • OS: macOS
  • Install method: Homebrew
  • vale version 2.11.2

Here is my .vale.ini

StylesPath = vale

# suggestion, warning or error
MinAlertLevel = warning 

Vocab = Docs

IgnoredScopes = code,tt, em

[*.md]
BasedOnStyles = Vale,Vocab

TokenIgnores = \(\/.*?\), \
               {%.*?%}, \
               {{.*?}}, \
               (.|\/|-)?github(\/|-)?, \
               (<http[^\n]+>+?)

There are the types of errors it is picking up:

content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md:152:53:Vale.Terms:Use 'hostname' instead of 'HOSTNAME'.
`
image

content/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions.md:236:21:Vale.Terms:Use 'npm' instead of 'NPM'.

image

Not sure what I am missing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions