Skip to content

Replace dependency babel-eslint with @babel/eslint-parser ^7.11.0#5459

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/babel-eslint-replacement
Open

Replace dependency babel-eslint with @babel/eslint-parser ^7.11.0#5459
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/babel-eslint-replacement

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 17, 2026

This PR contains the following updates:

Package Type Update Change
babel-eslint@babel/eslint-parser dependencies replacement ^10.1.0^7.11.0

⚠️ Renovate's replacement functionality does not currently wire in the release age for a package, so the Minimum Release Age checks can apply. You will need to manually validate the Minimum Release Age for these package(s).

This is a special PR that replaces babel-eslint with the community suggested minimal stable replacement version.


Configuration

📅 Schedule: (in timezone US/Eastern)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 17, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.34.6/14.18.2/node_modules/corepack/dist/yarn.js:2
process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT??='1'
                                           ^^^

SyntaxError: Unexpected token '??='
    at wrapSafe (internal/modules/cjs/loader.js:1001:16)
    at Module._compile (internal/modules/cjs/loader.js:1049:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at internal/main/run_main_module.js:17:47

@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 3 times, most recently from 553e719 to 246b35f Compare January 23, 2026 11:51
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch from 246b35f to 6eeeb8d Compare February 3, 2026 15:03
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 2 times, most recently from ad3a488 to 4afc640 Compare February 25, 2026 11:57
Comment thread package.json
"axios-mock-adapter": "^1.8.1",
"babel-core": "^6.24.1",
"babel-eslint": "^10.1.0",
"@babel/eslint-parser": "^7.11.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Replacing babel-eslint with @babel/eslint-parser will cause the linting step to fail because a Babel config file is required by default but is not present.
Severity: HIGH

Suggested Fix

Add parserOptions: { requireConfigFile: false } to the .eslintrc file. This will instruct @babel/eslint-parser not to look for a Babel configuration file, resolving the linting failure.

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#L20

Potential issue: The project updates the ESLint parser from `babel-eslint` to
`@babel/eslint-parser`. The new parser, `@babel/eslint-parser`, defaults its
`requireConfigFile` option to `true`, meaning it requires a Babel configuration file
(like `.babelrc`) to be present. Since this project lacks such a file and does not
override this setting in its `.eslintrc` `parserOptions`, the `npm run lint` command
will fail. This will cause the CI build to fail, preventing the PR from being merged or
deployed.

Did we get this right? 👍 / 👎 to inform future reviews.

@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 3 times, most recently from 7dbb366 to f291a35 Compare February 27, 2026 18:10
Comment thread package.json
"axios-mock-adapter": "^1.8.1",
"babel-core": "^6.24.1",
"babel-eslint": "^10.1.0",
"@babel/eslint-parser": "^7.11.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The new @babel/eslint-parser requires Babel 7, but the project's configuration and dependencies are still on Babel 6, which will cause the linting process to fail.
Severity: CRITICAL

Suggested Fix

To resolve the incompatibility, either upgrade the entire Babel ecosystem (core, plugins, presets) to version 7 to match the new parser, or revert to using babel-eslint which is compatible with the existing Babel 6 setup. A full upgrade would involve adding @babel/core and replacing babel-* packages with their @babel/* equivalents.

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#L20

Potential issue: The project's dependencies and configuration are based on Babel 6,
including `babel-core` and various plugins/presets. This pull request introduces
`@babel/eslint-parser`, a package that requires Babel 7 (`@babel/core@>=7.2.0`). This
creates a major version incompatibility. When the `lint` script runs, ESLint will use
the new parser, which will fail because it cannot work with the existing Babel 6
ecosystem. This will cause the linting process to fail, breaking any build or CI
pipeline that includes it.

@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 2 times, most recently from 75fda22 to e94fa55 Compare February 28, 2026 14:40
Comment thread package.json
"axios-mock-adapter": "^1.8.1",
"babel-core": "^6.24.1",
"babel-eslint": "^10.1.0",
"@babel/eslint-parser": "^7.11.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The project uses Babel 6, but the newly added @babel/eslint-parser requires Babel 7, which will cause ESLint parsing to fail.
Severity: MEDIUM

Suggested Fix

To resolve the incompatibility, either upgrade the entire project to Babel 7 (including babel-core and related plugins) or find a version of the ESLint parser that is compatible with the existing Babel 6 setup.

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#L20

Potential issue: The project's dependencies include `babel-core: ^6.24.1`, indicating it
is configured for Babel 6. The pull request introduces `@babel/eslint-parser: ^7.11.0`,
which is designed to work with Babel 7. This version mismatch will cause ESLint parsing
to fail when it encounters Babel-specific syntax, as the parser will not be compatible
with the project's existing Babel 6 configuration and plugins. This will break the
linting process during development and in CI pipelines.

@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 7 times, most recently from b29182a to 4006ee8 Compare March 5, 2026 19:41
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch from 4006ee8 to c86e1e9 Compare March 9, 2026 15:04
Comment thread package.json
"axios-mock-adapter": "^1.8.1",
"babel-core": "^6.24.1",
"babel-eslint": "^10.1.0",
"@babel/eslint-parser": "^7.11.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The update to ESLint dependencies will break the linting process because eslint-config-mitodl still requires the removed babel-eslint, and the new @babel/eslint-parser is missing its @babel/core peer dependency.
Severity: HIGH

Suggested Fix

To fix the linting failure, add @babel/core as a dev dependency to satisfy the peer dependency requirement of @babel/eslint-parser. Then, override the parser in the local .eslintrc configuration file by setting "parser": "@babel/eslint-parser" to ensure it is used instead of the one specified by eslint-config-mitodl.

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#L20

Potential issue: The changes in `package.json` will break the ESLint setup. The removal
of the `babel-eslint` package will cause an error because a dependency,
`eslint-config-mitodl`, still requires it. This will lead to a "Cannot find module
'babel-eslint'" error when running the linter. Additionally, the newly added
`@babel/eslint-parser` requires `@babel/core` (version 7) as a peer dependency, which is
not present in the project's dependencies. The project currently uses the older
`babel-core` (version 6). These issues will cause the linting process to fail, blocking
CI/CD pipelines.

@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 3 times, most recently from 823e5ca to 77e20f7 Compare March 19, 2026 19:14
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 3 times, most recently from b7d077b to 72e4564 Compare March 27, 2026 06:58
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 6 times, most recently from d5e9eb4 to d28d414 Compare April 1, 2026 15:17
@renovate renovate Bot changed the title fix(deps): replace dependency babel-eslint with @babel/eslint-parser ^7.11.0 Replace dependency babel-eslint with @babel/eslint-parser ^7.11.0 Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch 5 times, most recently from ebc4e14 to 8bc7b6a Compare April 15, 2026 15:03
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch from 8bc7b6a to 8963465 Compare April 16, 2026 14:59
@renovate renovate Bot force-pushed the renovate/babel-eslint-replacement branch from 8963465 to 9349b7f Compare April 16, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants