-
Notifications
You must be signed in to change notification settings - Fork 4k
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
style: remove eslint with frontend code removal ADR #36383
Conversation
32141b8
to
2103a9e
Compare
Delete it and run |
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.
This makes sense to me. I haven't tested this branch but I imagine removing lint tooling is low risk.
28c6a49
to
e807c7e
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.
Author's Note:
- This change (updating
package-lock.json
) broke the build with failing JS tests. :) - In devstack, I have npm 10.5.2, and the CI checks are using 10.7.x. I don't know the importance of that for running
npm install
. - The resultant file here seems to still install eslint.
- There are so many changes, including odd changes like dropping the license from many dependencies, so I'm not sure if I'm just building the file incorrectly.
Possible next steps:
- Someone with more expertise and interest decides to land this, or
- I open an issue and point to this PR, which will be closed as not-completed. This was meant to be a quick win, worth skipping an issue for, but that has turned out not to be the case for me.
FYI: @feanil @arbrandes @bradenmacdonald
I think I'm missing the context that led to this decision. Have people been finding themselves blocked by eslint? I don't feel strongly that we need to keep eslint--just looking to understand the motivation and priority level behind getting rid of it. |
This is partly captured in the ADR in this PR. Some additional context;
|
Got it, ty. Sounds like this not critical but would be a nice-to-have if someone were able to get ot over the line. |
Exactly. Also, I updated the ADR to provide more details about why this would be nice-to-have. |
@feanil @arbrandes: Let me know before the end of the week (March 21) if you want to take this over, or if you know you don't. Assuming no one wants to land this now, I will:
UPDATE: The deadline posted here was simply so I knew whether I needed to take action or not. After discussion, I'm just going to let this sit because we hope someone might land this. |
@brian-smith-tcril can you take a look at this and help us figure out how to fix forward? |
Removing eslint makes sense. How was the |
I've re-bulit the package-lock.json from scratch let's see how that goes. @robrap to close the look, I'll take over the PR and get it landed, thanks for getting it started. |
@brian-smith-tcril @feanil: I created the lock file the way you described, but maybe I have an incompatible version of node? I don't know and needed to move on. Thank you both. |
839fec8
to
fbb0a96
Compare
@feanil: I did not get to the step of building static assets because the tests were failing. Would you be able to build a sandbox? |
fbb0a96
to
b0eff0f
Compare
Got everything squashed and rebased for merging and I've tagged it to create a sandbox now that the static asset issue has been resolved. |
- Add ADR for frontend code removal - Drop eslint, as explained in the ADR
b0eff0f
to
399be67
Compare
Sandbox deployment successful 🚀 |
Sandbox looks good, I'm merging this. |
Sandbox deployment failed 💥 |
@feanil: Before merging, can you determine why the sandbox failed? |
This second sandbox build failed in a apt update unrelated to this change, the first one succeeded so I'm comfortable merging this. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
Supporting information
See new ADR for details.
Other information