[No QA] Update eslint-config-expensify to v2.0.82#64589
Conversation
Bump eslint-config-expensify from version 2.0.78 to 2.0.82 in package.json and package-lock.json to include the latest linting rules and improvements.
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@tgolen |
|
I don't think so for this one. Thanks for asking! The internal review should be enough. |
| "eslint": "^8.57.0", | ||
| "eslint-config-airbnb-typescript": "^18.0.0", | ||
| "eslint-config-expensify": "2.0.78", | ||
| "eslint-config-expensify": "2.0.82", |
There was a problem hiding this comment.
I'm not sure why it was so many versions behind... but maybe just an oversight. I didn't see any issues after bumping it.
|
Hm, I was not aware that the GH would fail if there were warnings. That's not super ideal... @mountiny do you have thoughts on that? |
|
Ah we pass the Not sure if we want to change that. I am not sure how to fix this without disabling the rule in all instances :/ |
|
Can we just change that to allow like... 332 warnings? There are no other warnings currently... but I'm not sure that we want to let others get through either 🤔 |
|
Yeah that would just leave space for other warnings as we get rid of the onyx.connects. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
mountiny
left a comment
There was a problem hiding this comment.
Let's then add it to the guidelines that with each Onyx.connect removed, this number should go down.
Looks good to me
|
✋ 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 by https://github.com/mountiny in version: 9.1.70-0 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.70-7 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.70-7 🚀
|
2 similar comments
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.70-7 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.70-7 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.70-7 🚀
|
Explanation of Change
This update brings in the new warning for
Onyx.connect()being deprecatedFixed Issues
$ #64588
Tests
npm run lintOnyx.connect()Offline tests
None
QA Steps
None
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)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