-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "nomodule" to attr-req-value rule #454
Labels
bug
Something isn't working
Comments
Thanks for reporting 👍 . |
It seems to me that this issue can be closed https://github.com/linthtml/linthtml/blob/develop/packages/dom-utils/lib/boolean_attrs.ts#L33 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, it seems the "nomodule" attribute is not in the list of allowed boolean attributes:
<script nomodule src="/file.js"></script>
results in:
error The attribute "nomodule" requires a value attr-req-value
But I believe it is a valid boolean attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nomodule.
The text was updated successfully, but these errors were encountered: