Sha256: 8e8370f52636af9c01cce40e52096092415ae561cfdb5391226a8a48db62e54a
Contents?: true
Size: 401 Bytes
Versions: 10
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true module ThemeCheck # Recommends replacing `include` for `render` class ConvertIncludeToRender < LiquidCheck severity :suggestion category :liquid doc "https://shopify.dev/docs/themes/liquid/reference/tags/deprecated-tags#include" def on_include(node) add_offense("`include` is deprecated - convert it to `render`", node: node) end end end
Version data entries
10 entries across 10 versions & 1 rubygems