Describe the bug
The code <script src="js/chart.js/dist/chart.umd.js"></script>
causes Avoid parser blocking scripts by adding deferorasync on this tagtheme-checkParserBlockingScript
despite having set these things:
{% # theme-check-disable ParserBlockingJavaScript %}
and also in .theme-check.yml
ParserBlockingJavascript:
enabled: false
ignore: []
ParserBlockingScriptTag:
enabled: false
ignore: []
Source
{% # theme-check-disable ParserBlockingJavaScript %}
<script src="js/chart.js/dist/chart.umd.js"></script>
{% # theme-check-enable ParserBlockingJavaScript %}
Expected behaviour
No warning because at least one setting for muting ParserBlockingJavaScript should be honored
Actual behaviour
Avoid parser blocking scripts by adding deferorasync on this tagtheme-checkParserBlockingScript Message pops up in visual studio code

Debugging information
- Windows
- 22H2
- VS Code 1.86.2
- Shopify Liquid Extension Version v2.12
Additional context
Add any other context about the problem here.
Describe the bug
The code
<script src="js/chart.js/dist/chart.umd.js"></script>causes
Avoid parser blocking scripts by addingdeferorasyncon this tagtheme-checkParserBlockingScriptdespite having set these things:
and also in
.theme-check.ymlSource
{% # theme-check-disable ParserBlockingJavaScript %} <script src="js/chart.js/dist/chart.umd.js"></script> {% # theme-check-enable ParserBlockingJavaScript %}Expected behaviour
No warning because at least one setting for muting
ParserBlockingJavaScriptshould be honoredActual behaviour

Avoid parser blocking scripts by addingdeferorasyncon this tagtheme-checkParserBlockingScriptMessage pops up in visual studio codeDebugging information
Additional context
Add any other context about the problem here.