# Prevent missing theme-check-enable comments (`MissingEnableComment`) When `theme-check-disable` is used in the middle of a template, the corresponding `theme-check-enable` comment should also be included. ## Check Details This check aims at eliminating missing `theme-check-enable` comments. :-1: Example of **incorrect** code for this check: ```liquid
{% comment %}theme-check-disable ParserBlockingJavaScript{% endcomment %} ``` :+1: Example of **correct** code for this check: ```liquid {% comment %}theme-check-disable ParserBlockingJavaScript{% endcomment %} {% comment %}theme-check-enable ParserBlockingJavaScript{% endcomment %} ``` ## Version This check has been introduced in Theme Check 0.3.0. ## Resources - [Rule Source][codesource] - [Documentation Source][docsource] [codesource]: /lib/theme_check/checks/missing_enable_comment.rb [docsource]: /docs/checks/missing_enable_comment.md