chore(deps): migrate to ESLint v10#74
Conversation
|
@copilot rebase onto origin/main |
There was a problem hiding this comment.
Pull request overview
Updates the repo’s development tooling to ESLint v10 while keeping the published library’s runtime compatibility unchanged (Node.js ≥18 for consumers). It also documents the higher Node.js requirement for contributors driven by ESLint v10’s engine constraints.
Changes:
- Bump
eslintto^10.4.0and regeneratepnpm-lock.yamlaccordingly. - Document the new contributor Node.js minimum required for ESLint v10.
- Add
.nvmrcto guide local Node version selection for development.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| README.md | Documents the higher Node.js version needed for development due to ESLint v10. |
| package.json | Updates ESLint to v10 and adds a dev-only Node.js engine requirement hint. |
| pnpm-lock.yaml | Lockfile regeneration reflecting ESLint v10 and updated transitive deps/engines. |
| .nvmrc | Adds an nvm hint for the Node major version used during development. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Adds .nvmrc (Node 20) and devEngines field to clarify that development requires Node >=20.19 (ESLint v10 constraint) while the published package continues to support Node >=18 for consumers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Coverage Report for CI Build 26481677637Warning No base build found for commit Coverage: 100.0%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
168ea91 to
f52bd69
Compare
|
🎉 This PR is included in version 2.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bumps ESLint from v9.9.x to v10.4.0. The existing flat config (
eslint.config.js) is already v10-compatible — no config changes required.Changes
package.json:eslintversion range updated to^10.4.0pnpm-lock.yaml: Lockfile regenerated; key resolution changes:eslint→10.4.0@eslint/js→9.39.4(v10-compatible patch)@eslint/config-array,@eslint/core,@eslint/plugin-kit, etc.) to versions requiring Node ≥ 20.19.0