Skip to content

Bump stylelint-config-gds from 2.0.0 to 3.0.0#2833

Open
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/stylelint-config-gds-3.0.0
Open

Bump stylelint-config-gds from 2.0.0 to 3.0.0#2833
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/npm_and_yarn/stylelint-config-gds-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2026

Copy link
Copy Markdown
Contributor

Bumps stylelint-config-gds from 2.0.0 to 3.0.0.

Changelog

Sourced from stylelint-config-gds's changelog.

3.0.0

To install this version with npm, run npm install [email protected].

Breaking change: Requires Stylelint 17 and Node.js v20.19.0+

This release upgrades Stylelint to version 17, which requires a minimum Node.js version of v20.19.0.

If you use the Stylelint JavaScript API, note that Stylelint 17 now only supports ES Modules and no longer supports CommonJS.

Read about breaking changes in the Stylelint Migrating to v17.0.0 guide.

Breaking change: New or re-configured Stylelint rules

This release also upgrades the following configuration packages used by stylelint-config-gds:

You may see new errors when linting from the following new rules:

You may also see new errors from the string-no-newline rule, now configured with { ignore: ['at-rule-preludes', 'declaration-values'] }.

We recommend you update your code to fix the errors and only override the rule in your own stylelint configuration if you have a strong reason to (for example, adding exceptions for property-no-deprecated because of the browsers you need to support).

Removed rules

The upgrades of the configuration packages also remove some rules or options. While this will not trigger new linting errors, it means some verifications will no longer run on your code.

This release also removes the following rules:

... (truncated)

Commits
  • c81348e Merge pull request #141 from alphagov/release-3.0.0
  • b44e508 3.0.0
  • 008b7a5 Merge pull request #136 from alphagov/dependabot/npm_and_yarn/jest-30.4.0
  • 4cf2234 Merge pull request #139 from alphagov/dependabot/npm_and_yarn/picomatch-2.3.2
  • 3cdf359 Merge pull request #138 from alphagov/dependabot/npm_and_yarn/postcss-8.5.15
  • e164e78 Merge pull request #137 from alphagov/dependabot/npm_and_yarn/fast-uri-3.1.2
  • f353e31 Bump jest from 30.3.0 to 30.4.2
  • 181d867 Bump picomatch from 2.3.1 to 2.3.2
  • 2ce327d Bump postcss from 8.5.8 to 8.5.15
  • 4ce1e0a Merge pull request #118 from alphagov/stylelint-17
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for stylelint-config-gds since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 9, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/stylelint-config-gds-3.0.0 branch 2 times, most recently from eedff9a to b5d1221 Compare June 16, 2026 10:01
Bumps [stylelint-config-gds](https://github.com/alphagov/stylelint-config-gds) from 2.0.0 to 3.0.0.
- [Changelog](https://github.com/alphagov/stylelint-config-gds/blob/main/CHANGELOG.md)
- [Commits](alphagov/stylelint-config-gds@2.0.0...3.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-gds
  dependency-version: 3.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/stylelint-config-gds-3.0.0 branch from b5d1221 to 7ade6fb Compare June 16, 2026 12:28
The word-wrap fallback is only needed for IE11 and older browsers.

Including it is causing linting errors from stylelint.

We could either ignore it or remove it.

This commit removes it. It's unlikely we need to support IE11 in the
admin frontend any more.
This supports the latest GDS stylelint config.
@github-actions

Copy link
Copy Markdown

🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-2833.admin.review.forms.service.gov.uk/

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

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