LiquidTag
Recommends using {% liquid ... %}
if four or more consecutive Liquid tags ({% ... %}
) are found. This helps to eliminate repetitive tag markers ({%
and %}
) in theme files.
The following examples contain code snippets that either fail or pass this check.
Parameter | Description |
---|---|
enabled | Whether this check is enabled. |
min_consecutive_statements | The maximum (inclusive) number of consecutive statements before the check recommends a refactor. |
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.