Skip to content
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

tools: fix eslint update script #52526

Closed
wants to merge 1 commit into from

Conversation

marco-ippolito
Copy link
Member

@marco-ippolito marco-ippolito commented Apr 14, 2024

Fixes: #52521
Test with: #52525
RUN: https://github.com/nodejs/node/actions/runs/8679237634

Blocked by #50714 and untill plugins support eslint v9

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Apr 14, 2024
@@ -58,6 +58,7 @@ rm -rf ../node_modules/eslint
--no-save \
--omit=dev \
--omit=peer \
--legacy-peer-deps \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to wait for plugins to officially support ESLint v9.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the PR that adds support to babel-eslint: babel/babel#16414

Copy link
Member Author

@marco-ippolito marco-ippolito Apr 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok so I'll set it as blocked until that pr lands? or I can just close it

Copy link
Member Author

@marco-ippolito marco-ippolito Apr 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@targos I see #50714 is ready to land, is it related?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#50714 is not directly related but I would like to land it before we do a new automated update.

@marco-ippolito marco-ippolito added the blocked PRs that are blocked by other issues or PRs. label Apr 14, 2024
@targos
Copy link
Member

targos commented Apr 14, 2024

Also note that ESLint v9 has breaking changes related to the configuration and will need to be manually upgraded.
The test run failed: https://github.com/nodejs/node/actions/runs/8679237633/job/23797567819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked PRs that are blocked by other issues or PRs. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESLint dep update fails
3 participants