chore(deps-dev): bump eslint from 8.57.1 to 9.39.1#417
chore(deps-dev): bump eslint from 8.57.1 to 9.39.1#417dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.39.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v8.57.1...v9.39.1) --- updated-dependencies: - dependency-name: eslint dependency-version: 9.39.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| "@babel/core": "^7.27.1", | ||
| "@babel/preset-env": "^7.27.1", | ||
| "eslint": "^8.56.0", | ||
| "eslint": "^9.39.1", |
There was a problem hiding this comment.
Bug: ESLint v9 upgrade is incompatible with existing eslint-config-airbnb-base@15.0.0 and dual configuration files, causing linting to fail.
Severity: CRITICAL | Confidence: 1.00
🔍 Detailed Analysis
Upgrading to ESLint v9 without updating its configuration introduces incompatibility. The repository contains both .eslintrc.json (old ESLintRC format) and eslint.config.js (new flat config format). The eslint-config-airbnb-base@15.0.0 dependency, designed for ESLint v8, is kept unchanged. When npm run lint is executed, ESLint v9 will prioritize eslint.config.js but will encounter conflicts or incompatibilities with the outdated eslint-config-airbnb-base version, causing the lint command to fail.
💡 Suggested Fix
Update eslint-config-airbnb-base to a version compatible with ESLint v9, or migrate the configuration to the new flat config format and remove .eslintrc.json.
🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L35
Potential issue: Upgrading to ESLint v9 without updating its configuration introduces
incompatibility. The repository contains both `.eslintrc.json` (old ESLintRC format) and
`eslint.config.js` (new flat config format). The `eslint-config-airbnb-base@15.0.0`
dependency, designed for ESLint v8, is kept unchanged. When `npm run lint` is executed,
ESLint v9 will prioritize `eslint.config.js` but will encounter conflicts or
incompatibilities with the outdated `eslint-config-airbnb-base` version, causing the
lint command to fail.
Did we get this right? 👍 / 👎 to inform future reviews.
|
Superseded by #418. |
Bumps eslint from 8.57.1 to 9.39.1.
Release notes
Sourced from eslint's releases.
... (truncated)
Commits
e2772819.39.14cdf397Build: changelog update for 9.39.192db329chore: update@eslint/jsversion to 9.39.1 (#20284)c7ebefcchore: package.json update for@eslint/jsrelease650753efix: Only pass node to JS lang visitor methods (#20283)51b51f4docs: add a section on when to use extends vs cascading (#20268)61778f6chore: update eslint-config-eslint dependency@eslint/jsto ^9.39.0 (#20275)d9ca2fcci: Add rangeStrategy to eslint group in renovate config (#20266)009e507test: fix version tests for ESLint v10 (#20274)b44d426docs: Update READMEDependabot 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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
Upgrades ESLint to 9.39.1 and updates related ESLint ecosystem packages and parsers.
eslintto^9.39.1inpackage.json.@eslint/js,@eslint/eslintrc,@eslint/core,@eslint/config-*,@eslint/plugin-kit.espree10.x,acorn8.15.0,eslint-scope8.x,eslint-visitor-keys4.x,esquery1.5.x.file-entry-cache8.x,flat-cache4.x,globals14.x; add@types/estree.Written by Cursor Bugbot for commit 1963a24. This will update automatically on new commits. Configure here.