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/prop-types validation broken using this.props[someVar] #83

Closed
justin808 opened this issue May 27, 2015 · 1 comment
Closed

react/prop-types validation broken using this.props[someVar] #83

justin808 opened this issue May 27, 2015 · 1 comment
Labels

Comments

@justin808
Copy link

This line below fails:

if (this.props[propertyName]) {

with

warning  'propertyName' is missing in props validation  react/prop-types

Using: "esprima-fb": "^15001.1.0-dev-harmony-fb",

@yannickcr
Copy link
Member

After verification, this bug was already fixed in v2.0.0 #36

Be sure to upgrade to the latest version of eslint-plugin-react, that should solve your problem.

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

2 participants