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
7.2.0 breaks Object.freeze #1366
Comments
Can you elaborate on "works"? Do you have |
@ljharb "works" means I get no eslint errors "settings": {
"react": {
"version": "15.6.1"
},
"propWrapperFunctions": [ "Object.freeze" ]
}, |
That seems like it's a bug in the |
@nihgwu If I'm right this pattern was not detected in v7.1.0 and the propTypes validation was just ignored for the component. This is no longer the case since v7.2.0. But #1366 (comment) should have worked, so there was definitively a bug here. It should be fixed in next release. |
the following code works on v7.1.0
The text was updated successfully, but these errors were encountered: