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

[New] no-unused-prop-types: add ignore option #2972

Merged
merged 1 commit into from Apr 28, 2021

Conversation

geraintwhite
Copy link
Contributor

Add support for the ignore option to no-unused-prop-types (same as prop-types).

This is useful when using react-navigation with flow because the navigators require components to have navigation and route props defined even if they're not used in the component.

@ljharb ljharb force-pushed the no-unused-prop-types-ignore branch from 25b1ba5 to 6cf3812 Compare April 28, 2021 16:00
@ljharb ljharb merged commit 6cf3812 into jsx-eslint:master Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants