Pin ESLint to v9 and update Node.js references to 22.x#675
Merged
Conversation
eslint 10 has no compatible eslint-config-next plugin versions yet (import, jsx-a11y, react peer ranges stop at eslint 9), which produced three ERESOLVE peer-dependency warnings on install. Pin eslint to ^9.39.4 (officially supported by eslint-config-next 16) to clear them. Pin engines.node to 22.x (matches the Node 22 currently resolved on Vercel) to silence the open-ended Node version warning. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018XuAUputRyrAbmwnBpdZQd
The engines.node pin to 22.x raised the project's Node floor, but the CI workflow, IDX dev environment, and docs still referenced Node 20 (now end-of-life). Align them all to Node 22: - .github/workflows/copilot-test.yml: setup-node 20 -> 22, summary text - .idx/dev.nix: pkgs.nodejs_20 -> pkgs.nodejs_22 - README, CONTRIBUTING, AGENTS, docs/PROJECT_SUMMARY, docs/PRD, docs/ROOT_FOLDER_CLEANUP, workflows/README, marketing-agent, webapp-testing SKILL: 20.9+/20+ -> 22.x Left unchanged: third-party engines fields in package-lock.json and the .toSorted() feature-availability notes (factually about Node 20). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018XuAUputRyrAbmwnBpdZQd
…ings-gi8cxi chore: update Node.js to 22.x and downgrade ESLint to 9.39.4
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.