-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[NoQA] Use periods at the end of error messages with ESLint check #39988
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
Conversation
| currentPassword: 'Current password', | ||
| newPassword: 'New password', | ||
| newPasswordPrompt: 'New password must be different than your old password, have at least 8 characters, 1 capital letter, 1 lowercase letter, and 1 number.', | ||
| errors: { |
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.
I don't think this is a good idea, lets modify the eslint rule instead of doing this.
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.
These were unused, so isn't it a good idea to delete them?
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.
These were unused, so isn't it a good idea to delete them?
Didn't notice they were unused, thought you moved them 👍
| customTaxName: 'Custom tax name', | ||
| value: 'Value', | ||
| errors: { | ||
| error: { |
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.
Only a few places used the plural form, so changed them to singular one for consistency.
|
@grgia Can you start the lint check again? It shows unrelated lint fixes. |
|
@getusha Can you have a look when possible? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
I tried it locally and it's failing |
package.json
Outdated
| "eslint": "^7.6.0", | ||
| "eslint-config-airbnb-typescript": "^17.1.0", | ||
| "eslint-config-expensify": "^2.0.44", | ||
| "eslint-config-expensify": "^2.0.45", |
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.
| "eslint-config-expensify": "^2.0.45", | |
| "eslint-config-expensify": "^2.0.46", |
i think this should be 2.0.46 based on Expensify/eslint-config-expensify#88 (comment)
|
Runing lint |
@ShridharGoel do we know the reason why it was failing in the first place? |
|
@getusha Because Expensify/eslint-config-expensify#89 got deployed in 2.0.45 but E/App changes seem to be pending. |
|
@ShridharGoel lets also add Line 340 in 74a6195
|
006d035 to
c838ec0
Compare
c838ec0 to
2373860
Compare
getusha
left a comment
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 thanks!
|
Apologies for the delay, could you merge main @ShridharGoel and I'll merge this :) |
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.
LGTM, thank you!
|
🚀 Deployed to staging by https://github.com/grgia in version: 1.4.69-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.69-2 🚀
|
Details
Use periods at the end of error messages with ESLint check.
Fixed Issues
$ #38989
PROPOSAL: #38989 (comment)
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop