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

Fixed crossorigin naming convention and missing tag support. #1659

Merged
merged 4 commits into from Jan 27, 2018

Conversation

jzDev
Copy link
Contributor

@jzDev jzDev commented Jan 26, 2018

Fixed crossorigin naming convention to match React's supported HTML attributes.
https://reactjs.org/docs/dom-elements.html

Fixes #1656. Per #1642 (comment)

@jzDev jzDev changed the title Fixed crossorigin naming convention. Fixed crossorigin naming convention and missing tag support. Jan 26, 2018
@ljharb ljharb added the bug label Jan 27, 2018
Copy link
Member

@ljharb ljharb left a 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 />',
Copy link
Member

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?

@ljharb ljharb force-pushed the jzDev/flip-crossorigin-rule branch from 6fa13ae to 1d13218 Compare January 27, 2018 08:13
Copy link
Member

@ljharb ljharb left a 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.

@ljharb ljharb merged commit d060041 into jsx-eslint:master Jan 27, 2018
@jzDev jzDev deleted the jzDev/flip-crossorigin-rule branch January 30, 2018 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants