Skip to content

Disable react/prop-types #722

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

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Disable react/prop-types #722

merged 2 commits into from
Jul 29, 2024

Conversation

agerard-godaddy
Copy link
Contributor

Summary

The prop-types package has been deprecated for awhile and checks will be removed from React 19. Are we ok to go ahead and remove this lint rule?
https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-proptypes-and-defaultprops

Changelog

eslint-config-godaddy-react

  • Disable react/prop-types

Test Plan

React components without .propTypes no longer trigger lint errors.

@agerard-godaddy agerard-godaddy requested a review from a team as a code owner July 22, 2024 16:23
Copy link
Member

@rxmarbles rxmarbles left a comment

Choose a reason for hiding this comment

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

Could this be done as part of the next major version aka upgrade to eslint@v9?

@agerard-godaddy agerard-godaddy merged commit 6125e53 into main Jul 29, 2024
3 checks passed
@agerard-godaddy agerard-godaddy deleted the disable-prop-types branch July 29, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants