chore(deps-dev): bump eslint from 8.57.1 to 10.0.3#434
chore(deps-dev): bump eslint from 8.57.1 to 10.0.3#434dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
package.json
Outdated
| "@babel/core": "^7.27.1", | ||
| "@babel/preset-env": "^7.27.1", | ||
| "eslint": "^8.56.0", | ||
| "eslint": "^10.0.3", |
There was a problem hiding this comment.
ESLint 10 removed valid-jsdoc rule used in config
High Severity
Bumping eslint to ^10.0.3 breaks linting because eslint.config.js enables the valid-jsdoc rule at error level 2. This rule was removed in ESLint 9.0.0 and does not exist in ESLint 10. Running npm run lint will fail with "Definition for rule 'valid-jsdoc' was not found." The rule needs to be removed or replaced with the equivalent from eslint-plugin-jsdoc.
package.json
Outdated
| "@babel/core": "^7.27.1", | ||
| "@babel/preset-env": "^7.27.1", | ||
| "eslint": "^8.56.0", | ||
| "eslint": "^10.0.3", |
There was a problem hiding this comment.
Incompatible peer dependencies for eslint plugins and config
High Severity
eslint-config-airbnb-base@15 declares a peer dependency of eslint: "^7.32.0 || ^8.2.0" and eslint-plugin-import@2.32 declares eslint: "^2 || ^3 || ... || ^8 || ^9". Neither supports ESLint 10. Fresh npm install will fail with ERESOLVE peer dependency errors, and these packages may malfunction at runtime due to removed ESLint APIs (e.g., context.getSourceCode(), context.parserPath).
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 10.0.3. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v10.0.3) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
0c3d5bd to
9affe39
Compare


Bumps eslint from 8.57.1 to 10.0.3.
Release notes
Sourced from eslint's releases.
... (truncated)
Commits
bfce7ea10.0.3d44ced8Build: changelog update for 10.0.3e511b58fix: update eslint (#20595)ef8fb92chore: package.json update for eslint-config-eslint releasee8f2104chore: updates for v9.39.4 release5cd1604refactor: simplify isCombiningCharacter helper (#20524)9fc31b0docs: Update README70ff1d0chore: eslint-config-eslint require Node^20.19.0 || ^22.13.0 || >=24(#20586)f4c9cf9fix: include variable name inno-useless-assignmentmessage (#20581)4efaa36docs: add info box foreslint-plugin-eslint-comments(#20570)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Medium Risk
Major ESLint upgrade updates a large portion of the lint toolchain and now requires Node
^20.19.0 || ^22.13.0 || >=24, which may break CI/dev environments or existing lint configuration/plugins (notablyeslint-config-airbnb-base’s peer range).Overview
Upgrades dev dependency
eslintfrom v8 to v10 and refreshespackage-lock.jsonto the new ESLint dependency graph (new@eslint/*packages, updated parser/scope utilities, and removal of some legacy transitive deps).This also changes ESLint’s Node engine requirement to
^20.19.0 || ^22.13.0 || >=24, which may require updating local/CI Node versions and verifying compatibility with existing shareable configs/plugins (e.g.eslint-config-airbnb-base).Written by Cursor Bugbot for commit 9affe39. This will update automatically on new commits. Configure here.