-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fixed crossorigin naming convention and missing tag support. #1659
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@@ -80,14 +80,8 @@ ruleTester.run('no-unknown-property', rule, { | |||
code: '<rect clip-path="bar" />;', | |||
output: '<rect clipPath="bar" />;', | |||
errors: [{message: 'Unknown property \'clip-path\' found, use \'clipPath\' instead'}] | |||
}, { | |||
code: '<script crossOrigin />', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's replace this with crossorigin
, so that it tests that this is an invalid property?
6fa13ae
to
1d13218
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took care of it for you.
Fixed crossorigin naming convention to match React's supported HTML attributes.
https://reactjs.org/docs/dom-elements.html
Fixes #1656. Per #1642 (comment)