vscode-yaml
vscode-yaml copied to clipboard
schema path evaluated aggressively
Describe the bug
.vscode/settings.json
:
{
"yaml.schemas": {
"./schema1.json": ["**/some-folder/**/*.yaml"],
"./schema2.json": ["**/some-folder/*.yaml"]
}
}
Expected Behavior
The file ./packages/some-folder/abc/x.yaml
should be validated against schema1.json
only.
Current Behavior
It is validated against schema1.json
and schema2.json
Environment
- [x] Windows
Related to https://github.com/redhat-developer/yaml-language-server/issues/422