Skip to content

Bump @wordpress/stylelint-config from 23.42.0 to 24.0.0#266

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/wordpress/stylelint-config-24.0.0
Closed

Bump @wordpress/stylelint-config from 23.42.0 to 24.0.0#266
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/wordpress/stylelint-config-24.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 19, 2026

Copy link
Copy Markdown
Contributor

Bumps @wordpress/stylelint-config from 23.42.0 to 24.0.0.

Changelog

Sourced from @​wordpress/stylelint-config's changelog.

24.0.0 (2026-07-14)

Breaking Changes

  • Increase the minimum required Node.js version to 20.19.0 || 22.13.0, i.e. versions supporting require(esm) (#79755).

Enhancements

  • length-zero-no-unit rule now ignores custom properties and var functions, for better compatibility with usage inside calc functions. calc functions are already exempt from the rule by default, and this change extends the same exemption to variables that may be used within calc functions, as unitless zeros are not valid in CSS math functions (#79786).
  • Include plugin-wpds/no-token-fallback-values from @wordpress/theme to catch manual design token fallbacks in the shared Stylelint config (#79768).
  • Update @stylistic/stylelint-plugin to ^3.1.3 (#79648).
  • Convert configuration to ESM (#79755).
Commits
  • e9a74f9 chore(release): publish
  • 2a0c375 Update changelog files
  • e61c854 Merge changes published in the Gutenberg plugin "release/23.6" branch
  • 1055a35 Update changelog files
  • 8ca3e8e Merge changes published in the Gutenberg plugin "release/23.6" branch
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 19, 2026
Bumps [@wordpress/stylelint-config](https://github.com/WordPress/gutenberg/tree/HEAD/packages/stylelint-config) from 23.42.0 to 24.0.0.
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/stylelint-config/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/stylelint-config@24.0.0/packages/stylelint-config)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/wordpress/stylelint-config-24.0.0 branch from 9504136 to cd6667b Compare July 19, 2026 11:08
@ocean90

ocean90 commented Jul 19, 2026

Copy link
Copy Markdown
Member

Superseded by the branch that also raises the published @wearerequired/stylelint-config peer to ^24 (the ERESOLVE fix) and adds the required changeset — a devDependency-only bump can't be green on its own.

@dependabot @github

dependabot Bot commented on behalf of github Jul 19, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/wordpress/stylelint-config-24.0.0 branch July 19, 2026 11:12
ocean90 added a commit that referenced this pull request Jul 19, 2026
Dependabot #266 bumped the root devDependency to 24.0.0, but the published
stylelint-config still declared a `^23` peer, so `npm ci` failed with ERESOLVE.

24.0.0 is a drop-in for our config: identical `stylelint` (^16.8.2) and
`stylelint-scss` (^6.4.0) peers and the same exports (`.`, `/scss`,
`/stylistic`, `/scss-stylistic`). Verified — the stylelint smoke tests
(including the `@stylistic/max-line-length` and BEM `selector-class-pattern`
overrides) pass against 24.

- Raise the `@wordpress/stylelint-config` peer from `^23` to `^24`.
- Bump the root devDependency to `^24` and refresh the lockfile.
- Add a changeset (major, dedicated: the migration changeset is already
  consumed by 7.0.0-alpha.0, so editing it would not trigger a release).
ocean90 added a commit that referenced this pull request Jul 19, 2026
* Group Dependabot updates and guard against missing changesets

Two low-risk improvements instead of an auto-changeset writer — that writer
would be dormant here, since the published packages have no runtime
dependencies and Dependabot only touches root dev tooling + composer.

- dependabot.yml: group the npm lint toolchain (@wordpress/*, eslint*,
  stylelint*, prettier, typescript) into one weekly PR, and batch all
  github-actions bumps. Composer stays ungrouped on purpose — the PHP stack is
  exact-pinned and each bump is a deliberate review against the PHP_CodeSniffer
  3 ceiling.
- ci.yml: add a "Changeset guard" job that fails a PR when a published
  package's package.json changes without a changeset — the peer/dependency
  class we handled by hand during the v7 alphas (#264/#266/#267). Skips pushes
  and the changesets "Version Packages" PR.

* Changeset guard: only count newly added changesets

Address Copilot review on #272: `changeset_added` came from `git diff
--name-only`, so a merely *modified* (or moved) existing changeset would satisfy
the guard despite the name/message meaning a new one. Editing an existing
changeset does not version a new change (and in pre mode does not trigger a
release), so switch to `git diff --name-status` and require an added (`A`) file.
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.

1 participant