vale icon indicating copy to clipboard operation
vale copied to clipboard

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

Open David-Else opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] 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

David-Else avatar Aug 27 '24 11:08 David-Else