-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
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
A Proposal: add some defaults for prop-types to ignore #54
Comments
IMO if |
I knew I wasn't first who noticed. 😄 |
Thanks! Documentation improvement is always welcome :) |
AlexKVal
changed the title
Proposition: add some defaults for prop-types to ignore
A Proposal: add some defaults for prop-types to ignore
Sep 15, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As in React.Children said:
props.children
has anopaque
type.So maybe it would be wise to add it into some kind of
defaults
list to ignore.For now it needs to be added
into
.eslintrc
.Same is true for
className
(and maybe for some more, that I'm not aware of yet).I am new to
React
development and I believe I just don't know something related to written above,so I'm looking for help with this idea.
If it turns up the idea is right one, I could try to implement it (with tests and docs of course).
The text was updated successfully, but these errors were encountered: