Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps @wordpress/eslint-plugin from 22.22.0 to 24.0.0.

Changelog

Sourced from @​wordpress/eslint-plugin's changelog.

24.0.0 (2026-01-16)

Breaking Changes

  • Updated recommended ruleset to enforce import/no-unresolved for @wordpress/ packages. These packages were previously exempted from the rule. (#72978)
  • Removed default configuration of import/internal-regex to classify @wordpress/ packages as internal. From the perspective of an external consumer of this package, @wordpress/ packages should be considered external. (#72978)

New Features

Enhancements

  • The dependency-group rule is not recommended anymore. (#73616)
Commits
  • 50c4c0f chore(release): publish
  • 28afca3 Update changelog files
  • 0022c1f Merge changes published in the Gutenberg plugin "release/22.4" branch
  • 2cf13ec chore(release): publish
  • d096bed Update changelog files
  • ef20cbf Merge changes published in the Gutenberg plugin "release/22.3" branch
  • See full diff in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 19, 2026
@dcalhoun dcalhoun self-assigned this Jan 20, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/wordpress/eslint-plugin-24.0.0 branch 2 times, most recently from 899894f to bc74bb0 Compare January 20, 2026 20:00
dependabot bot and others added 3 commits January 21, 2026 16:33
Bumps [@wordpress/eslint-plugin](https://github.com/WordPress/gutenberg/tree/HEAD/packages/eslint-plugin) from 22.22.0 to 24.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/eslint-plugin@24.0.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@wordpress/eslint-plugin"
  dependency-version: 24.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
`@wordpress` modules are no longer excluded from the
`import/no-extraneous-dependencies` rule.

See: WordPress/gutenberg#72978
Address lint errors following recent changes to the
`@wordpress/eslint-plugin` package. Align with the Gutenberg project.

See: WordPress/gutenberg#72978

```
./GutenbergKit/src/utils/wordpress-globals.js
  47:41  error  Unable to resolve path to module '@wordpress/preferences-persistence'  import/no-unresolved
```
@dcalhoun dcalhoun force-pushed the dependabot/npm_and_yarn/wordpress/eslint-plugin-24.0.0 branch from bc74bb0 to 28c69cf Compare January 21, 2026 21:34
Regeneration is required after upgrading package versions.

```
**ERROR** Failed to apply patch for package @wordpress/rich-text at path

    node_modules/@wordpress/rich-text

  This error was caused because @wordpress/rich-text has changed since you
  made the patch file for it. This introduced conflicts with your patch,
  just like a merge conflict in Git when separate incompatible changes are
  made to the same piece of code.

  Maybe this means your patch file is no longer necessary, in which case
  hooray! Just delete it!

  Otherwise, you need to generate a new patch file.

  To generate a new one, just repeat the steps you made to generate the first
  one.

  i.e. manually make the appropriate file changes, then run

    patch-package @wordpress/rich-text

  Info:
    Patch file: patches/@WordPress+rich-text+7.37.0.patch
    Patch was made for version: 7.37.0
    Installed version: 7.38.0
```
Comment on lines +20 to +28
settings: {
'import/resolver': {
node: {
// Matches file extensions supported by WordPress build tools
// See: https://github.com/WordPress/gutenberg/blob/760acec3522516c2212e0213ff10cd2a8c9e8df0/tools/eslint/import-resolver.js#L15
extensions: [ '.js', '.jsx', '.mjs', '.cjs' ],
},
},
},
Copy link
Member

Choose a reason for hiding this comment

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

Address lint errors following recent changes to the
@wordpress/eslint-plugin package. Align with the Gutenberg project.

See: WordPress/gutenberg#72978

./GutenbergKit/src/utils/wordpress-globals.js
  47:41  error  Unable to resolve path to module '@wordpress/preferences-persistence'  import/no-unresolved

"test:unit:watch": "vitest"
},
"dependencies": {
"@wordpress/a11y": "^4.36.0",
Copy link
Member

Choose a reason for hiding this comment

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

@wordpress modules are no longer excluded from the import/no-extraneous-dependencies rule. Therefore, we must explicitly declare these dependencies that we export as window globals.

See: WordPress/gutenberg#72978

Copy link
Member

Choose a reason for hiding this comment

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

Regenerated this existing patch file for the new package version.

@dcalhoun dcalhoun enabled auto-merge (squash) January 21, 2026 21:42
@dcalhoun dcalhoun merged commit 018a4a3 into trunk Jan 21, 2026
10 of 12 checks passed
@dcalhoun dcalhoun deleted the dependabot/npm_and_yarn/wordpress/eslint-plugin-24.0.0 branch January 21, 2026 21:49
@dcalhoun
Copy link
Member

Very confused as to why auto-merge proceeded while the CI checks failed. I'll follow up with a fix.

@dcalhoun
Copy link
Member

Addressed in #290.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants