-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-11-11] [$250] Automate author checklist with ESLint rules #50154
Comments
Triggered auto assignment to @sakluger ( |
@rayane-djouah for implementation, what is your eta for the pr, soˇe diff is already available |
I'm starting right now |
I've encountered issues with the Here's the draft PR: Expensify/eslint-config-expensify#121. Note: I am still investigating a lint error. |
Fixed the Lint errors 🎉 |
@szymonrybczak @mountiny PR ready for review |
@szymonrybczak is going to review the eslint PR |
@rayane-djouah merged, can you please make App PR now 🙏 |
I'm waiting on #50935 to be merged |
Merged |
@mountiny it looks like this one is pretty much complete! How should we handle payment for this issue? $250 to @rayane-djouah in 7 days? |
Yes! |
|
Job added to Upwork: https://www.upwork.com/jobs/~021849137380340533101 |
Current assignee @rayane-djouah is eligible for the External assigner, not assigning anyone new. |
Summarizing payment on this issue: Contributor: @rayane-djouah $250, sent offer via Upwork: https://www.upwork.com/nx/wm/offer/104560122 |
@rayane-djouah we still need to update App right? |
Yes, I'm working on an App PR |
Okay we'll wait to pay out until 7 days after the App PR is deployed. |
@mountiny @szymonrybczak App PR ready for review: #51741 |
Merged |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.56-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-11-11. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-djouah @sakluger The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
No BugZero Checklist is required as this is a new feature. Additionally, no regression testing is necessary because this is a tool for developers. |
Payment Summary
BugZero Checklist (@sakluger)
|
Problem:
The current Author Checklist for creating a Pull Request contains 48 checks, which is an excessive number of items to be manually verified every time a PR is submitted. This lengthy process can slow down the development workflow.
Solution
Automate checks with ESLint rules where possible, as we've found some checklist items that can be easily automated.
I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
Here’s a diff presenting a potential implementation: callstack-internal/eslint-config-expensify@b31ad44.
After applying diff locally there’s only one error in whole codebase:
The lint rule examines the left-side condition of an expression. If it detects a non-boolean value, it raises an error — once this rule is implemented, we can remove the corresponding check from the Author Checklist in the Pull Request template.
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @saklugerThe text was updated successfully, but these errors were encountered: