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

rule react/no-unknown-property assumes that you're using jsx with react #394

Closed
garth opened this issue Jan 28, 2016 · 5 comments

Comments

@garth
Copy link

commented Jan 28, 2016

This rule breaks using jsx with other view libraries

@dcousens

This comment has been minimized.

Copy link
Member

commented Jan 28, 2016

@garth do you have a test-case?

@dcousens dcousens added the bug label Jan 28, 2016

@garth

This comment has been minimized.

Copy link
Author

commented Jan 29, 2016

For example try using class prop which is valid in snabbdom and standard gives an error.

@dcousens

This comment has been minimized.

Copy link
Member

commented Jan 29, 2016

@garth can you please post a piece of code that fails?

@garth

This comment has been minimized.

Copy link
Author

commented Jan 29, 2016

<div class={{ someClassName: true }}/>
@dcousens

This comment has been minimized.

Copy link
Member

commented Jan 29, 2016

Oh right, this ol' girl.
Closing in favour of standard/eslint-config-standard-react#13.

@dcousens dcousens closed this Jan 29, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.