eslint-plugin-json-schema-validator
eslint-plugin-json-schema-validator copied to clipboard
Support `yaml-language-server: $schema=` Comments
trafficstars
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