We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using eslint-plugin-react v6.0.0 "react/prop-types": ["error"] rule does not generate error for React.PureComponent which is added in react v15.3.0.
"react/prop-types": ["error"]
React.PureComponent
Example: "react/prop-types": ["error"]
import React from 'react'; export default class extends React.PureComponent { render() { return ( <div> <span>{this.props.no}</span> </div> ); } }
The text was updated successfully, but these errors were encountered:
Thanks for the report! I think we need to update some of our utility methods to better detect these new things. e.g. https://github.com/yannickcr/eslint-plugin-react/blob/763382f8d4ec5961c765bbb71cd2698016da5b53/lib/util/Components.js#L195
@ozum would you be interested in submitting a PR for this?
Sorry, something went wrong.
Unfortunately,I don't have enough React experience for this PR. This is my first week with React.
Working on it
c670bb2
yannickcr
No branches or pull requests
Using eslint-plugin-react v6.0.0
"react/prop-types": ["error"]
rule does not generate error forReact.PureComponent
which is added in react v15.3.0.Example:
"react/prop-types": ["error"]
The text was updated successfully, but these errors were encountered: