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

forbid-prop-types: forbid contextTypes, childContextTypes #1533

Merged
merged 3 commits into from Nov 13, 2017

Conversation

jomasti
Copy link
Contributor

@jomasti jomasti commented Nov 11, 2017

This PR adds support for checking contextTypes and childContextTypes for forbidden prop types. I also added support for checking getters, too, since I have seen them supported elsewhere.

Closes #1513

@jomasti jomasti changed the title Issue 1513 forbid-prop-types: forbid contextTypes, childContextTypes Nov 11, 2017
@ljharb
Copy link
Member

ljharb commented Nov 13, 2017

I'll merge this tomorrow if no objections.

@ljharb ljharb merged commit 006441f into jsx-eslint:master Nov 13, 2017
@jomasti jomasti deleted the issue-1513 branch November 15, 2017 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants