App: [HOLD for payment 2022-10-24] [$250] Resolve cyclic dependencies lint errors
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
There are some silenced cyclic dependency lint errors in our codebase. They were silenced in this PR as we didn’t want to block our project just because of them. Cyclic dependency doesn’t break anything but it’s good to optimize code and get rid of them.
Action Performed:
Break down in numbered steps
- Uncomment
// eslint-disable-next-line import/no-cyclelines in codebase - Run
npm run lint
Expected Result:
No lint errors should show
Actual Result:
Cyclic dependency lint error appears
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround? Users are not affected
Platform:
Where is this issue occurring?
- Web
- iOS
- Android
- Desktop App
- Mobile Web
Version Number: Reproducible in staging?: Reproducible in production?: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Upwork job URL: https://www.upwork.com/jobs/~0105a5aec0a694b518 Issue reported by: Slack conversation:
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 24 (19 by maintainers)
Haha sorry if that was confusing @aimane-chnaif you haven’t done anything wrong here! 💙
This is totally semantics at this point, but let me break it down for clarity. And let me know if you think any external documentation has made this confusing for you as a contributor - I’ll gladly revise it, if so:
Prefer to use
Root causefor explaining the cause. AndRCA or Regressionwhen you want to refer to regression.Stepping in to help cover @stitesExpensify while he’s OOO
Totally agree! As you continue to work on jobs, feel free to identify the “root cause” in your Problem statement like @parasharrajat mentioned 😃 love it.
@michaelhaxhiu Thanks for clarification. Though it’s a new bug and not a regression, I think it’s better to explain why this happens, rather than proposing only a solution. This can be labelled as
Root Causeas @parasharrajat suggested?@michaelhaxhiu I just explained detail about those lint errors. you can ignore that if RCA means only a regression keyword