DeprecatedTag
Last edit: Apr 01, 2026
DeprecatedTag
Severity: warning | Type: LiquidHtml | Aliases: DeprecatedTags
This check is aimed at eliminating the use of deprecated Liquid tags. When a deprecated tag is used, the check reports the offense with the deprecation reason (if available) to help you migrate to the recommended alternative.
Examples
✗ Incorrect Code Example (Avoid using this):
{% include 'my-partial' %}
The include tag has been deprecated in favor of render.
✓ Correct Code Example (Use this instead):
{% render 'my-partial' %}
Configuration
The default configuration for this check:
DeprecatedTag:
enabled: true
severity: warning
Disabling This Check
Use the platformos-check-disable comment to suppress specific instances when migrating legacy code:
{% # platformos-check-disable DeprecatedTag %}
{% include 'legacy-partial' %}
{% # platformos-check-enable DeprecatedTag %}