With such a rule the following would be invalid: ```javascript class Foo extends React.Component {} Foo.propTypes = {...} Foo.defaultProps = {...} ``` and this would be valid: ```javascript class Foo extends React.Component { static propTypes = {...}; static defaultProps = {...}; } function Bar() { return <>...</>; } Bar.propTypes = {...}; ```