-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[No QA] Fix all propTypes to use block comments #2921
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor spelling and capitalization stuff, looks good otherwise
onLinkClick: PropTypes.func.isRequired, | ||
|
||
// navigates to settings and hides sidebar | ||
/** navigates to settings and hides sidebar */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: should be capitalized
onConfirm: PropTypes.func.isRequired, | ||
|
||
// callback to update comment from IOUModal | ||
/** callback to update comment from IOUModal */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: should be capitalized
pronouns: PropTypes.string, | ||
|
||
// timezone of the current user from their personal details | ||
/** timezone of the current user from their personal details */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: should be capitalized
src/pages/signin/SignInPage.js
Outdated
error: PropTypes.string, | ||
|
||
// Weather or not the account is validated | ||
/** Weather or not the account is validated */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whether
not Weather
src/pages/signin/SignInPage.js
Outdated
validated: PropTypes.bool, | ||
|
||
// Weather or not the account is validated | ||
/** Weather or not the account is validated */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whether
not Weather
onUpdateComment: PropTypes.func, | ||
|
||
// comment value from IOUModal | ||
/** comment value from IOUModal */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAB: should be capitalized
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging in version: 1.0.46-1🚀
|
Details
We updated the style guide to enforce block comments for
propTypes
but there are many not using that rule. This updates them all.Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/151907
Tests
QA Steps
❌
Tested On
N/A
Screenshots
N/A