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
Currently if you have the following
import React, {Component} from "react"; function someDecorator(ComposedComponent) { return class MyDecorator extends Component { render() {return <ComposedComponent {...this.props} />;} }; } module.exports = someDecorator;
I get the following warning
3:10 warning Component definition is missing display name react/display-name
In this case I would expect the rule to see the class name and not warn
The text was updated successfully, but these errors were encountered:
For now you can circumvent this with the following change
import React, {Component} from "react"; function someDecorator(ComposedComponent) { class MyDecorator extends Component { render() {return <ComposedComponent {...this.props} />;} } return MyDecorator; } module.exports = someDecorator;
Sorry, something went wrong.
3602f67
No branches or pull requests
Currently if you have the following
I get the following warning
In this case I would expect the rule to see the class name and not warn
The text was updated successfully, but these errors were encountered: