Open honzik20 opened 2 months ago
The output of ls-dirs
just shows the default location; it's not an indication of which path is being used and isn't required to be found if you're using a custom value.
What is the output of vale ls-config
?
$ vale ls-config
{
"BlockIgnores": {
"*.md": [
"(?sm)^({{[%\u003c] \\w+ [^{]*?\\s[%\u003e]}})\\n$",
"(?s) *({{\u003c highlight [^\u003e]* ?\u003e}}.*?{{\u003c ?/ ?highlight \u003e}})"
]
},
"Checks": [
"Microsoft.HeadingAcronyms",
"HTA.Present-perfect",
"Microsoft.Quotes",
"Microsoft.HeadingAcronyms",
"HTA.Present-perfect",
"Microsoft.Quotes"
],
"Formats": {},
"Asciidoctor": {},
"FormatToLang": {},
"GBaseStyles": null,
"GChecks": {},
"IgnoredClasses": null,
"IgnoredScopes": null,
"MinAlertLevel": 0,
"Vocab": [
"HTA"
],
"RuleToLevel": {},
"SBaseStyles": {
"*.md": [
"HTA",
"Microsoft",
"Readability"
]
},
"SChecks": {
"*.md": {
"HTA.Present-perfect": false,
"Microsoft.HeadingAcronyms": false,
"Microsoft.Quotes": false
}
},
"SkippedScopes": null,
"Stylesheets": {},
"TokenIgnores": {
"*.md": [
"({{[%\u003c] .* [%\u003e]}}.*?{{[%\u003c] ?/.* [%\u003e]}})",
"(\\[.+\\]\\({{\u003c .+ \u003e}}\\))",
"[^\\S\\r\\n]({{[%\u003c] \\w+ .+ [%\u003e]}})\\s",
"[^\\S\\r\\n]({{[%\u003c](?:/\\*) .* (?:\\*/)[%\u003e]}})\\s"
]
},
"WordTemplate": "",
"RootINI": "C:\\Users\\user1/vale.ini",
"Paths": [
"C:\\ORG\\STDEV\\vale\\styles"
],
"ConfigFiles": [
"C:\\ORG\\STDEV\\vale\\vale.ini"
],
"NLPEndpoint": ""
}
Check for existing issues
Environment
OS: Windows 11 Install: Chocolatey Version: 3.4.2
Describe the bug / provide steps to reproduce it
Vale isn't respecting 2 of my environment variables.
Output from the console:![image](https://github.com/errata-ai/vale/assets/16607402/494ff602-5820-4951-8520-3c5b4a5dc345)
But it's looking for the ini file in the wrong place:
The styles directory is respected. Any ideas?