TemplateLength

Version 0.1.0+

Identifies large Liquid template files. To avoid large template files, use snippets to componentize your theme.

Options

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

This check is safe to disable.