ValidStaticBlockType
Makes sure that all static blocks are using valid types.
The following examples contain code snippets that either fail or pass this check.
In the following example, there is no corresponding block-does-not-exist.liquid
file in the blocks
directory of the theme:
In the following example, block-exists.liquid
exists in the blocks
directory of the theme:
The following example contains the default configuration for this check:
Parameter | Description |
---|---|
enabled |
Whether this check is enabled. |
severity |
The severity of the check. |
Disabling this check
Anchor link to section titled "Disabling this check"Disabling this check isn't recommended.