Skip to content

Exclude eslint from Dependabot dev-dependencies group#919

Merged
GaryJones merged 1 commit into
developfrom
GaryJones/review-pr-903
Apr 23, 2026
Merged

Exclude eslint from Dependabot dev-dependencies group#919
GaryJones merged 1 commit into
developfrom
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
@GaryJones GaryJones merged commit 9219d16 into develop Apr 23, 2026
4 checks passed
@GaryJones GaryJones deleted the GaryJones/review-pr-903 branch April 23, 2026 22:48
@GaryJones GaryJones added this to the Next milestone Apr 23, 2026
@GaryJones GaryJones added the type: maintenance Routine maintenance and code quality improvements label Apr 23, 2026
@GaryJones GaryJones self-assigned this Apr 23, 2026
@GaryJones GaryJones mentioned this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Routine maintenance and code quality improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant