Currently, the plugin is working fine in .liquid files if my jS code is within the normal <script> tag but I want to add support if I use the recommended way from Shopify to add JS codes, within the {% javascript %} some JS code {% endjavascript %} tag
Any solution?
I have the following in my eslint.config.mjs file:
{
files: ["**/*.liquid"],
plugins: { html },
settings: {
"html/html-extensions": [".liquid"],
},
},
Currently, the plugin is working fine in
.liquidfiles if my jS code is within the normal<script>tag but I want to add support if I use the recommended way from Shopify to add JS codes, within the{% javascript %} some JS code {% endjavascript %}tagAny solution?
I have the following in my
eslint.config.mjsfile: