Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump stylelint and stylelint-config-gds #3605

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 9, 2023

Bumps stylelint and stylelint-config-gds. These dependencies needed to be updated together.
Updates stylelint from 14.16.1 to 15.10.2

Release notes

Sourced from stylelint's releases.

15.10.2

  • Fixed: declaration-property-value-no-unknown false negatives for nested declarations (#7079) (@​romainmenke).
  • Fixed: selector-pseudo-element-no-unknown false positives for view-transition pseudo-elements (#7070) (@​danielroe).

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

... (truncated)

Changelog

Sourced from stylelint's changelog.

15.10.2

  • Fixed: declaration-property-value-no-unknown false negatives for nested declarations (#7079) (@​romainmenke).
  • Fixed: selector-pseudo-element-no-unknown false positives for view-transition pseudo-elements (#7070) (@​danielroe).

15.10.1

15.10.0

15.9.0

  • Added: insideFunctions: {"function": int} to number-max-precision (#6932) (@​romainmenke).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-radius shorthand (#6958) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for border-width shorthand (#6956) (@​mattxwang).
  • Fixed: declaration-block-no-redundant-longhand-properties autofix for grid-column and grid-row (#6957) (@​mattxwang).

15.8.0

... (truncated)

Commits
  • f383a26 15.10.2
  • 1b5f907 Prepare release (#7073)
  • 3c65b3a Bump patch-package from 7.0.0 to 7.0.2 (#7085)
  • 9124f9f Bump the eslint group with 2 updates (#7083)
  • 178ea2c Fix declaration-property-value-no-unknown false negatives for nested declar...
  • 0ba4e15 Update package-lock.json to lock file version 3 (#7080)
  • 19ed25a Revert "Update package-lock.json to lock file version 3"
  • 7aebaf5 Update package-lock.json to lock file version 3
  • c1aefb4 [Docs] Fix table formatting in deprecated rules user guide (#7076)
  • 0543317 Fix typo in 15.0.0 migration guide (#7074)
  • Additional commits viewable in compare view

Updates stylelint-config-gds from 0.3.0 to 1.0.0

Changelog

Sourced from stylelint-config-gds's changelog.

1.0.0

This release upgrades to Stylelint 15 and now includes:

  • Checks for media query syntax, rules and values
  • Checks for number precision inside CSS functions
  • Fixes for duplicate rules with intentionally different units

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

Breaking change: Removal of stylistic rules

We have removed all stylistic rules (such as tabs/spaces, indentation, etc) as they're no longer included in Stylelint common configurations as part of their deprecation in Stylelint 15.

As per Stylelint's own documentation, we recommend that projects adopt Prettier for formatting instead.

If this is not possible for your project, you can configure your projects' Stylelint configuration to use the stylelint-stylistic or stylelint-codeguide plugins to restore the deprecated rules instead.

This change was made in [pull request #44: Remove deprecated stylistic rules](alphagov/stylelint-config-gds#44).

Removal of rule enforcing single-colon pseudo elements

We removed the rule selector-pseudo-element-colon-notation preventing double-colon ::before and ::after pseudo elements.

Internet Explorer 8, 9 and 10 require single-colon :before and :after pseudo elements, but supporting these old browsers has not been a requirement for services since June 2018. If you wish to keep support you can configure your Stylelint to re-enable it.

This change was made in [pull request #36: Remove selector-pseudo-element-colon-notation](alphagov/stylelint-config-gds#36).

Commits
  • 5cdee07 Merge pull request #32 from alphagov/stylelint-15
  • 02e3c62 Merge pull request #44 from alphagov/remove-deprecated-stylistic-rules
  • a11aff1 Bump version to 1.0.0
  • bebac04 Add CHANGELOG entry for Stylelint 15
  • b8c402e Update stylelint dependencies for stylelint 15.x
  • ff52d25 Fix moved Stylelint rule documentation URLs
  • b6f49d0 Add CHANGELOG entry for deprecated stylistic rules removal
  • d988cb8 Remove deprecated stylistic rules
  • c5d793e Add CHANGELOG entry for selector-pseudo-element-colon-notation removal
  • 6c17cea Merge pull request #43 from alphagov/dependabot/npm_and_yarn/word-wrap-1.2.4
  • Additional commits viewable in compare view

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 govuk-pay javascript Pull requests that update Javascript code labels Aug 9, 2023
Bumps [stylelint](https://github.com/stylelint/stylelint) and [stylelint-config-gds](https://github.com/alphagov/stylelint-config-gds). These dependencies needed to be updated together.

Updates `stylelint` from 14.16.1 to 15.10.2
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@14.16.1...15.10.2)

Updates `stylelint-config-gds` from 0.3.0 to 1.0.0
- [Changelog](https://github.com/alphagov/stylelint-config-gds/blob/main/CHANGELOG.md)
- [Commits](alphagov/stylelint-config-gds@0.3.0...1.0.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: stylelint-config-gds
  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-and-stylelint-config-gds-15.10.2 branch from ebfe584 to f80845d Compare August 17, 2023 10:08
@katstevens katstevens merged commit 0cbd7b7 into master Aug 17, 2023
5 checks passed
@katstevens katstevens deleted the dependabot/npm_and_yarn/stylelint-and-stylelint-config-gds-15.10.2 branch August 17, 2023 11:00
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 govuk-pay javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant