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

[eslint] Start enforcing react/prop-types #2360

Merged
merged 1 commit into from
Dec 3, 2015
Merged

[eslint] Start enforcing react/prop-types #2360

merged 1 commit into from
Dec 3, 2015

Conversation

oliviertassinari
Copy link
Member

It's just half of the work that need to be done.

@@ -37,6 +37,7 @@ const Checkbox = React.createClass({
labelStyle: React.PropTypes.object,
onCheck: React.PropTypes.func,
unCheckedIcon: React.PropTypes.element,
valueLink: React.PropTypes.object,
Copy link
Member Author

Choose a reason for hiding this comment

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

We should make this property deprecated since it's going to be the case in the next release of react.
We can use something like https://github.com/react-bootstrap/react-prop-types#deprecatedproptype-explanation

oliviertassinari added a commit that referenced this pull request Dec 3, 2015
[eslint] Start enforcing react/prop-types
@oliviertassinari oliviertassinari merged commit 463cf76 into mui:master Dec 3, 2015
@oliviertassinari oliviertassinari deleted the eslint-react-prop-types branch December 3, 2015 13:28
@zannager zannager added package: system Specific to @mui/system package: eslint Specific to eslint-plugin-material-ui labels Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: eslint Specific to eslint-plugin-material-ui package: system Specific to @mui/system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants