TemplateLength
Identifies large Liquid template files. To avoid large template files, use snippets to componentize your theme.
Parameter | Description |
---|---|
enabled | Whether this check is enabled. |
max_length | The maximum number of lines allowed inside a Liquid template. |
exclude_schema | Whether the schema lines in a template should be excluded from the line count. |
exclude_stylesheet | Whether the stylesheet lines in a template should be excluded from the line count. |
exclude_javascript | Whether the JavaScript lines in a template should be excluded from the line count. |
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.