Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upReact Code Style not applied when extending React.Component subclass #347
Comments
This comment has been minimized.
This comment has been minimized.
|
Not sure - there may be a way to accomplish what you want, but you should re-open this as an issue on https://github.com/feross/eslint-config-standard-react. React-specific rules will be removed from |
feross
closed this
Feb 5, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
saschagehlich commentedNov 30, 2015
Let's say I have a
BaseComponent, like this:And another class extending this
BaseComponent:Of course
standardcan't know that this is aReactComponentand should comply with the React Code Style (e.g. prop types), since it's extendingBaseComponentinstead ofReactComponent. But is there a way to tellstandardthatMyComponentis aReactComponent?