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

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

Open
Fleshgrinder opened this issue Aug 15, 2024 · 1 comment
Open

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

Fleshgrinder opened this issue Aug 15, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Fleshgrinder
Copy link

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
@ota-meshi
Copy link
Owner

Thank you for the feature request!
That sounds good to me.

@ota-meshi ota-meshi added enhancement New feature or request help wanted Extra attention is needed labels Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants