You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems very much related to a problem I just found - that the $schema field is completely ignored. I would think that if $schema is declared in the YAML file it would override any settings or automatic schema.
Describe the bug
I've got the following files:
permission.schema.yml
permission.yml
.vscode/settings.json
Expected Behavior
The
permission.schema.yml
should not be applied to itself:$schema
property, pointing to the JSON schema draft 2020-12.permission.yml
) does not matchpermission.schema.yml
.Current Behavior
The local schema is applied to the local schema itself, resulting in a false problem detection:
Steps to Reproduce
permission.yml
,permission.schema.yml
and.vscode/settings.json
.permission.schema.yml
in the editor.Environment
Extension is
redhat.vscode-yaml
v1.11.0.The text was updated successfully, but these errors were encountered: