MissingAsset
Makes sure that all asset files referenced by the asset_url
filter exist.
The following examples contain code snippets that either fail or pass this check.
In the following example, there is no corresponding picture-does-not-exist.png
file in the assets
directory of the theme:
In the following example, picture-in-asset-dir.png
exists in the assets
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.