Skip to content

Allow to disable schema validation for certain file patterns #998

@hadim

Description

@hadim

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions