ValidSchema
Identifies invalid JSON in {% schema %}
tags.
Anchor to ExamplesExamples
The following examples contain code snippets that either fail or pass this check.
Anchor to ✗ Fail✗ Fail
{% schema %}
{
"comma": "trailing",
}
{% endschema %}
Anchor to ✓ Pass✓ Pass
{% schema %}
{
"comma": "not trailing"
}
{% endschema %}
Anchor to OptionsOptions
ValidSchema
enabledtrue
severity error
Parameter | Description |
---|---|
enabled | Whether this check is enabled. |
severity | The severity of the check. |
Anchor to Disabling this checkDisabling this check
Disabling this check isn't recommended.
Was this page helpful?