Skip to main content

ValidSchema

Identifies invalid JSON in {% schema %} tags.


The following examples contain code snippets that either fail or pass this check.

{% schema %}
{
"comma": "trailing",
}
{% endschema %}

{% schema %}
{
"comma": "not trailing"
}
{% endschema %}

ValidSchema:
enabled: true
severity: error
ParameterDescription
enabledWhether this check is enabled.
severityThe severity of the check.

Anchor to Disabling this checkDisabling this check

Disabling this check isn't recommended.


Was this page helpful?