redhat-developer / vscode-yaml

YAML support for VS Code with built-in kubernetes syntax support
MIT License
670 stars 224 forks source link

Allow to disable schema validation for certain file patterns #998

Open hadim opened 11 months ago

hadim commented 11 months ago

Some YAML files are valid but cannot be validated using a regular YAML schema because they contain jinja content, for example.

It makes it quite annoying to work with YAML file with VSCode and no real alternatives YAML plugin and LS exist so far.

For background, I have collected a few related GH issues:


I can see two options to fix that:

terekete commented 9 months ago

Is there any option on the plugin to stop highlighting of jinja as an error ?

debuggerpk commented 6 months ago

this would be highly desirable.