Skip to content

Vale is using accept.txt rules inside hugo blocks when it should not #5

@David-Else

Description

@David-Else

Check for existing issues

  • Completed

Environment

Linux
downloaded from github releases
vale version 3.7.1

Describe the bug / provide steps to reproduce it

Vale insists on trying to correct the word udemy inside a markdown file when it is clearly meant to be exempt, if I change other words inside src= it does not attempt to correct them.

image

image

~/.config/vale/.vale.ini

StylesPath = styles

Vocab = Blog

MinAlertLevel = suggestion

Packages = Microsoft, Hugo

[*]
BasedOnStyles = Vale, Microsoft

Microsoft.We = NO
Microsoft.FirstPerson = NO
Microsoft.SentenceLength = NO

~/.config/vale/

$ tree           
.
├── styles
│   ├── config
│   │   └── vocabularies
│   │       └── Blog
│   │           ├── accept.txt
│   │           └── reject.txt
│   ├── .vale-config
│   │   └── 1-Hugo.ini
│   └── Microsoft
│       ├── Wordiness.yml
│       ├── We.yml
│       ├── Vocab.yml
│       ├── URLFormat.yml
│       ├── Units.yml
│       ├── Terms.yml
│       ├── Suspended.yml
│       ├── Spacing.yml
│       ├── SentenceLength.yml
│       ├── Semicolon.yml
│       ├── RangeTime.yml
│       ├── Quotes.yml
│       ├── Plurals.yml
│       ├── Percentages.yml
│       ├── Passive.yml
│       ├── OxfordComma.yml
│       ├── Ordinal.yml
│       ├── Negative.yml
│       ├── meta.json
│       ├── Hyphens.yml
│       ├── Headings.yml
│       ├── HeadingPunctuation.yml
│       ├── HeadingColons.yml
│       ├── HeadingAcronyms.yml
│       ├── GeneralURL.yml
│       ├── Gender.yml
│       ├── GenderBias.yml
│       ├── Foreign.yml
│       ├── FirstPerson.yml
│       ├── Ellipses.yml
│       ├── DateOrder.yml
│       ├── DateNumbers.yml
│       ├── DateFormat.yml
│       ├── Dashes.yml
│       ├── Contractions.yml
│       ├── Avoid.yml
│       ├── Auto.yml
│       ├── AMPM.yml
│       ├── Adverbs.yml
│       ├── Acronyms.yml
│       └── Accessibility.yml
├── native
└── .vale.ini

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