Skip to content
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

react/no-unknown-property: invalid property noModule found on script tag #3414

Closed
sarahp06 opened this issue Sep 6, 2022 · 1 comment
Closed
Assignees
Labels

Comments

@sarahp06
Copy link

sarahp06 commented Sep 6, 2022

Hello,

We have just gone from version 7.31.1 to 7.31.6. Now the react/no-unknown-property rule is reporting the noModule property of an script tag as invalid although it has worked correctly before. Is this expected?

Thanks!

@alopix
Copy link

alopix commented Sep 6, 2022

Looking at mdn, it looks like nomodule should be a valid HTML attribute on script: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-nomodule

@ljharb ljharb added the bug label Sep 6, 2022
@ljharb ljharb self-assigned this Sep 6, 2022
@ljharb ljharb closed this as completed in 73350de Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants