Following the advice of the React Docs react-component#constructor it would be great if there was an eslint rule that would convert:
constructor(props) {
super();
// ....
}
to:
constructor(props) {
super(props);
// ....
}
So that we would catch cases where someone tries to use this.props before it is populated. Thank you!
Looks like a duplicate of #626
Has this rule been added?
@joetidee no, see #626.
Most helpful comment
Looks like a duplicate of #626