Skip to content

Exclude eslint from Dependabot dev-dependencies group#919

Open
GaryJones wants to merge 1 commit intodevelopfrom
GaryJones/review-pr-903
Open

Exclude eslint from Dependabot dev-dependencies group#919
GaryJones wants to merge 1 commit intodevelopfrom
GaryJones/review-pr-903

Conversation

@GaryJones
Copy link
Copy Markdown
Contributor

Summary

PR #903 bundles an eslint v9-to-v10 major version bump alongside routine WordPress package updates. Because @automattic/eslint-plugin-wpvip (up to its latest release, v1.2.0) still requires peer eslint@"^9.7.0", the entire grouped PR fails npm ci with an ERESOLVE conflict, blocking the otherwise harmless WordPress updates from landing.

This adds an exclude-patterns entry for the bare eslint package in the npm Dependabot group. The eslint* glob still matches eslint plugins (e.g. eslint-plugin-*, eslint-config-*), so they remain grouped as before. The eslint package itself will get its own standalone PR, making the peer dependency conflict visible and isolated rather than blocking unrelated updates.

Once @automattic/eslint-plugin-wpvip releases eslint v10 support, the standalone eslint PR will pass CI and can be merged independently.

Test plan

The `eslint*` pattern in the Dependabot group causes major eslint
version bumps to be bundled with unrelated WordPress package updates.
Since `@automattic/eslint-plugin-wpvip` does not yet support eslint
v10, this blocks the entire group from merging (see #903). Excluding
the bare `eslint` package lets it get its own PR while `eslint-*`
plugins remain grouped.
@GaryJones GaryJones requested a review from a team as a code owner April 4, 2026 10:40
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.

1 participant