-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[NoQA] Use periods at the end of error messages with ESLint check #39988
Conversation
@@ -942,11 +942,6 @@ export default { | |||
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 👍
@@ -1980,7 +1975,7 @@ export default { | |||
foreignDefault: 'Foreign currency default', | |||
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
@@ -257,7 +257,7 @@ | |||
"electron-builder": "24.13.2", | |||
"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
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop