eslint-plugin-html
eslint-plugin-html copied to clipboard
How to ignore `<script>` without specified type?
trafficstars
Description
Like <script> without specified type, how can we ignore to lint it?
Alternatives
The plugin should ignore text/javascript when html/javascript-mime-types is set without it.
Additional context
Like
<script>without specified type, how can we ignore to lint it?
Currently you can't. Any reason to skip scripts whithout type attribute?
The plugin should ignore
text/javascriptwhenhtml/javascript-mime-typesis set without it.
This is already the case. If it solves your use-case, I suggest to favor this alternative.
Thank you for your PR! I'll release it soon.