Pin eslint to ^8.57.1 to fix peer dependency conflict with eslint-config-airbnb-base#1425
Conversation
…-airbnb-base@15 Co-authored-by: inducer <352067+inducer@users.noreply.github.com>
4d76048
into
dependabot/npm_and_yarn/npm-a5aecb9d32
There was a problem hiding this comment.
Pull request overview
Updates the JS tooling dependencies to resolve an npm peer-dependency conflict between eslint-config-airbnb-base@15.0.0 and an ESLint v10 bump, ensuring installs and CI linting remain functional.
Changes:
- Downgrade/pin
eslintto^8.57.1to satisfyeslint-config-airbnb-base@15.0.0peer requirements. - Regenerate
package-lock.jsonto reflect the ESLint v8 dependency tree.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Pins ESLint to v8 to satisfy Airbnb base config peer dependency constraints. |
| package-lock.json | Updates the lockfile to align with ESLint v8 and its transitive dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "autoprefixer": "^10.4.27", | ||
| "eslint": "^10.0.2", | ||
| "eslint": "^8.57.1", | ||
| "eslint-config-airbnb-base": "^15.0.0", | ||
| "eslint-plugin-import": "^2.32.0", |
There was a problem hiding this comment.
eslint@8.57.1 is EOL/unsupported (and is marked deprecated in the lockfile), so pinning to it to satisfy eslint-config-airbnb-base@15 leaves the toolchain on an unmaintained major. If this is intentional/temporary, please add an explicit note in package.json (similar to the existing //... comment keys) and ideally a tracking issue to migrate to a config that supports a maintained ESLint major (or update the Airbnb config when possible).
eslint-config-airbnb-base@15.0.0requireseslint@"^7.32.0 || ^8.2.0", making it incompatible with the eslint v10 bump introduced in this PR.Changes
eslintto^8.57.1(latest v8) instead of^10.0.2to satisfyeslint-config-airbnb-base@15.0.0's peer dependency constraintpackage-lock.jsonaccordingly💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.