Describe the bug
- You can add
{% # theme-check-disable-next-line %} to disable the theme check for the next liquid statement in the code
- If you do this inside of
doc tag, it is treated as part of the LiquidDoc description
- Disabling theme-check at the doc-tag level does not disable checks inside the doc tag
NOTE: You can still disable the theme check for a doc by disabling it for a section of code, just not the "next-line"
{% # theme-check-disable %}
{% doc %}
@param {product[]} prods - products
{% enddoc %}
{% # theme-check-enable %}
Source
{% # theme-check-disable-next-line UnusedAssign %}
{% doc %}
@param {product[]} prods - products
{% enddoc %}
Expected behaviour
- If we can't disable the theme-check from inside the
doc tag, we should at least be able to disable the theme check inside the doc tag
Actual behaviour
- can't disable theme checks for next line when it's inside of
doc tag
Describe the bug
{% # theme-check-disable-next-line %}to disable the theme check for the next liquid statement in the codedoctag, it is treated as part of the LiquidDoc descriptionNOTE: You can still disable the theme check for a doc by disabling it for a section of code, just not the "next-line"
{% # theme-check-disable %} {% doc %} @param {product[]} prods - products {% enddoc %} {% # theme-check-enable %}Source
{% # theme-check-disable-next-line UnusedAssign %} {% doc %} @param {product[]} prods - products {% enddoc %}Expected behaviour
doctag, we should at least be able to disable the theme check inside the doc tagActual behaviour
doctag