Skip to content
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

Most propType rules do not support propTypes wrapped in a function #1266

Closed
flats opened this issue Jun 20, 2017 · 0 comments
Closed

Most propType rules do not support propTypes wrapped in a function #1266

flats opened this issue Jun 20, 2017 · 0 comments

Comments

@flats
Copy link

flats commented Jun 20, 2017

#1253 added support for propTypes wrapped in a function to no-unused-prop-types. Similar support does not exist for other propType rules such as sort-prop-types, forbid-prop-types, and require-default-props. This came up a result of airbnb/prop-types#23.

@ljharb's suggestion to move the propWrapperFunctions setting from no-unused-prop-types to settings and add support for that setting in all propType rules seems like the right move.

Hoping that I can find time to open a PR for this sometime over the next several weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants