SchemaJsonFormat
Identifies improperly formatted JSON in {% schema %}
tags.
The following examples contain code snippets that either fail or pass this check.
The following example contains the default configuration for this check:
Parameter | Description |
---|---|
enabled | Whether the check is enabled. |
severity | The severity of the check. |
Auto-correction
Anchor link to section titled "Auto-correction"Theme Check can correct this error using the --auto-correct
flag. When the flag is specified, Theme Check prettifies the JSON data inside of the {% schema %}
tag.
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable. You might want to disable this check if you don't care about the visual appearance of your schema tags.