# Prevent missing theme-check-enable comments (`MissingEnableComment`) When `theme-check-disable` is used in the middle of a theme file, 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
{% # theme-check-disable ParserBlockingJavaScript %} ``` :+1: Example of **correct** code for this check: ```liquid {% # theme-check-disable ParserBlockingJavaScript %} {% # theme-check-enable ParserBlockingJavaScript %} ``` ## 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