Skip to content

Support yaml-language-server: $schema= Comments #343

@Fleshgrinder

Description

@Fleshgrinder

Many YAML files don't allow $schema properties and it's thus necessary to manually configure the schemas in ESLint. It would be nice to have support for the https://github.com/redhat-developer/yaml-language-server comment, which isn't only supported in Visual Studio Code but also in the JetBrains products.

# yaml-language-server: $schema=https://json-schema.org/draft-07/schema
# yaml-language-server: $schema=../custom.schema.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions