Skip to content

Bug: ESLint 9.39.0 breaks the downstream Markdown plugin build #577

@lumirlumir

Description

@lumirlumir

Environment

ESLint version: 9.39.0
@eslint/markdown version: 7.5.0
Node version: 20.19.4
npm version: 10.9.2
Operating System: Windows 11

Which language are you using?

commonmark

What did you do?

ESLint 9.39.0 breaks the downstream Markdown plugin build.

What did you expect to happen?

There should be no CI failures.

What actually happened?

It seems that this bug is also related with the one from eslint/rewrite#309.

Currently, @eslint/markdown@7.5.0 depends on @eslint/core@0.16.0, which appears to be causing the bug.

When I add overrides field to the root-level package.json as follows, the bug disappears:

  "overrides": {
    "@eslint/core": "^0.17.0"
  }

I think the correct solution would be to release a new version that depends on @eslint/core@0.17.0.

Also, this applies to json and css plugins, since their current @eslint/core version was not bumped to @eslint/core@0.17.0.

(I have another repository where @eslint/json causes an error; if this needs to be addressed for the rationale of releasing a new version, I can open a separate issue.)

Link to Minimal Reproducible Example

lumirlumir/npm-eslint-plugin-mark#377

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugrepro:neededThis issue should include a reproducible example

    Type

    No type

    Projects

    Status

    Ready to Implement

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions