Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to disable schema validation for certain file patterns #998

Open
hadim opened this issue Dec 16, 2023 · 2 comments
Open

Allow to disable schema validation for certain file patterns #998

hadim opened this issue Dec 16, 2023 · 2 comments

Comments

@hadim
Copy link

hadim commented Dec 16, 2023

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:

  • Option 1: "somehow" allows the YAML validator to either validate or ignore jinja content.
  • Option 2: allow a user to disable YAML validation in VSCode for specific files or file patterns.
@terekete
Copy link

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

@debuggerpk
Copy link

this would be highly desirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants