-
-
Notifications
You must be signed in to change notification settings - Fork 19
fix: update dependencies under @eslint scope
#374
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
Open
lumirlumir
wants to merge
7
commits into
main
Choose a base branch
from
chore/update-eslint-dependencies
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d17df76
chore: update dependencies under `@eslint` scope
lumirlumir d43e24c
Merge branch 'main' into chore/update-eslint-dependencies
lumirlumir 7300886
wip
lumirlumir 29aa23a
Merge branch 'main' into chore/update-eslint-dependencies
lumirlumir 8ffaab4
Merge branch 'main' into chore/update-eslint-dependencies
lumirlumir e1c9ed4
Merge branch 'main' of https://github.com/eslint/code-explorer into c…
lumirlumir 3a82250
Merge branch 'main' into chore/update-eslint-dependencies
lumirlumir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
These
@eslintpackage updates now require Node.js ^20.19.0 || ^22.13.0 || >=24 (per their published engines). The repo currently declares "engines.node": ">= 20" and uses an unpinned ".nvmrc" of "20", which implies support for Node 20.0–20.18 even though installs will fail there. Please align the project's declared/CI Node version with the new minimum (e.g., bump engines.node and pin .nvmrc accordingly).Uh oh!
There was an error while loading. Please reload this page.
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.
It appears Netlify automatically installs the latest Node.js 20 during the build, so this seems safe:
Would it be better to specify Node.js 20 version more explicitly to ensure future compatibility?
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.
Yes we can surely specify the a node js version explicitly. This PR also raises a warning about the Node.js version compatibility:
One option is: ^20.19.0 || ^22.13.0 || >=24
However, since Node 20 reached end-of-life in April 2026, we could drop support for it entirely and move to a more forward-looking range: ^22.12.0 || >=24
This aligns with the requirements of @rolldown/[email protected], which officially supports: >=22.12.0 || ^24.0.0 (Node 20 is excluded)
Although the plugin still works on Node 20.19+, it shows warnings, so support is only partial.
For a cleaner and future-proof setup, it’s better to:
Use ^22.12.0 || >=24 in engines
Set .nvmrc to Node 22
Or if want to go practically we can have: ^20.19.0 || ^22.13.0 || >=24
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.
We have the same Node.js support issue with the
eslint-scopeupdate in #285 and theespreeupdate in #284 as well. I filed #378 so we can discuss the project's Node.js version support.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.
Great. I believe an issue has been opened and there is no blocking problem for this PR since Netlify uses Node.js 20.20+. Should this PR be postponed, or can it be merged?
If it's acceptable, it would be nice if we can merge this PR without blocking, as the language plugin version discrepancy makes developing language plugins a bit difficult.