MissingEnableComment

Version 0.3.0+

Makes sure that when theme-check-disable is used in the middle of a template, the corresponding theme-check-enable comment is also present.

Examples

Below are examples of code that fails and passes this check.

✗ Fail

✓ Pass

Disabling this check

Disabling this check isn't recommended because Theme Check might not run on large sections of your code.