Skip to content

Conversation

@chiawendt
Copy link
Contributor

fixes #2241

@ljharb ljharb changed the title [fix]prop-types: fix case with destructuring and defualt param [fix]prop-types: fix case with destructuring and default param Apr 28, 2019
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see a few more test cases but this looks great!

@ljharb ljharb merged commit 861fdef into jsx-eslint:master Apr 28, 2019
@chiawendt
Copy link
Contributor Author

Thank you.

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.

prop-types not enforced with destructured props and default empty object param

2 participants