[NoQA] Bump eslint-config-expensify and add context-provider-split-values eslint rule#84274
Conversation
|
@mkhutornyi 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] |
|
|
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
Marking as ready for review just to test the workflows! |
|
No product review needed |
|
Is this on hold for Expensify/eslint-config-expensify#176 or ready for review? |
|
Hey @mkhutornyi! I think we can hold it for a moment until the conversation is resolved in the |
|
The eslint was merged so we can update this PR I think |
eslint-config-expensify and add context-provider-split-values eslint rule
eslint-config-expensify and add context-provider-split-values eslint ruleeslint-config-expensify and add context-provider-split-values eslint rule
|
Hey! 👋🏻 The PR is basically ready, but I'm not able to test the TravelCVV and PINContext flows, since I don't have access to do it - @mkhutornyi are you able to see if they work fine? If not I can revert them and just disable the rule for them |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
| setIsPINHidden((prev) => !prev); | ||
| }, []); | ||
|
|
||
| // Clear PIN when the context provider unmounts (user leaves the flow) |
| const {isAccountLocked} = useLockedAccountState(); | ||
| const {showLockedAccountModal} = useLockedAccountActions(); | ||
|
|
||
| // Get CVV from context - shared with TravelCVVVerifyAccountPage |
I am not able to access these pages either. For this testing, I think we need help from engineer. |
|
Codex Review: Didn't find any major issues. Nice work! ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@staszekscp can you please resolve conflicts? |
mountiny
left a comment
There was a problem hiding this comment.
Looking good, thank you!
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ 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.3.39-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.3.39-3 🚀
|

Explanation of Change
This PR bumps
eslint-config-expensifyto add a rule that forbids to mix state and actions in the context providervalue.Fixed Issues
$ #80271
PROPOSAL: N/A
Tests
Eslint rule in an IDE
actionsValueobject add a new key that is not a functionstateValueobject add new key with a functionTabSelectorContext
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
Screen.Recording.2026-03-13.at.10.24.57.mov