AllowedScriptType should allow "module" for type script tag #384
Open
Description
I don't understand why erb_lint is surfacing this:
Avoid using "module" as type for `<script>` tag. Must be one of: text/javascript (or no type attribute). (not autocorrected)
This is valid HTML: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#applying_the_module_to_your_html
Similarly "application/ld+json" should be an acceptable value. https://docs.parse.ly/metadata-jsonld/
Metadata
Assignees
Labels
No labels