Skip to content

Update dependency stylelint-prettier to v5 #90

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stylelint-prettier ^1.2.0 -> ^5.0.0 age adoption passing confidence

Release Notes

prettier/stylelint-prettier (stylelint-prettier)

v5.0.3

Compare Source

Avoid deprecation warning when encountering parsing errors in Stylelint >=16.13.0 (#​385)

v5.0.2

Compare Source

Fix case where less files were incorrectly mangled when using v5.0.1 (#​363)

v5.0.1

Compare Source

Fix case where when autofixing multiple other rules in addition to prettier, the other autofixes would be thrown away (#​360)

v5.0.0

Compare Source

Increase the minimum required versions of stylelintand node. Stylelint v16
has converted its codebase to esm and has deprecated its commonjs apis. We've followed their suggested migration guide and stylelint-prettier is now an esm-only package. This has required dropping support for v15 at the same time.

  • Minimum stylelint version is now v16 (drop support for v15.x)
  • Minimum node requirements is now >=18.12.0 (drop support for v14.x and v16.x)

v4.1.0

Compare Source

  • Added end indexes for violations - the squiggly line in vscode will now cover more than one character. (#​341)
  • Do not trigger prettier for .astro files. (#​340)

v4.0.2

Compare Source

Fix case where an error is thrown when no prettier configuration file is found (#​311)

v4.0.1

Compare Source

Fix prettier-plugin-svelte support by ensuring .svelte files are ignored. The regression of them not being ignored only affected v4.0.0. (#​309)

v4.0.0

Compare Source

Add support for Prettier v3.

In order to make Prettier v3 work, we've had to drop support for Prettier v2.x and Stylelint less that v15.8.0. Maintaining temporary support for Prettier v2 and v3 at the same time isn't worth the complication that results thanks to prettier's migration to es modules. When you update to prettier v3, ensure that you update stylelint-prettier at the same time.

  • Minimum supported prettier version is now v3.0.0.
  • Minimum supported stylelint version is now v15.8.0.

v3.0.0

Compare Source

Remove stylelint-config-prettier from the recommended config. Stylelint v15 deprecated the rules that stylelint-config-prettier disabled, thus if you do not use those deprecated rules then you do not need stylelint-config-prettier. If you are still using these deprecated rules then you should install and configure stylelint-config-prettier separately.

Increase the mimimum required node version. No code changes have been required and v2.0.0 works with stylelint v15, however continuing to test with the unsupported node 12 is a burden that is not worth carrying.

  • Minimum node requirement is now "^14.17.0 || >=16.0.0" (drop support for v12.x)
  • If you extended from the stylelint-prettier/recommended in v2 then you must add an explict extend from stylelint-config-prettier to retain the same behaviour.

v2.0.0

Compare Source

Increase the minimum required versions of stylelint, prettier and node. No code changes have been required and v1.2.0 works with stylelint v14, however continuing to test old these old unsupported versions is getting more difficult thanks to internal API changes. (#​198)

  • Minimum stylelint version is now v14 (drop support for v9.5 through v13.x)
  • Minimum prettier version is now v2 (drop support for v1.x)
  • Minimum node requirements is now ^12.22.0 || ^14.17.0 || >=16.0.0 (drop support for v8.x and v10.x)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot labels May 2, 2025
@renovate renovate bot enabled auto-merge (squash) May 2, 2025 14:15
@renovate renovate bot force-pushed the renovate/stylelint-prettier-5.x branch from ec0c6f7 to 337cf87 Compare May 8, 2025 21:47
@renovate renovate bot force-pushed the renovate/stylelint-prettier-5.x branch 2 times, most recently from 561238a to 2ebb9d7 Compare June 1, 2025 01:45
@renovate renovate bot force-pushed the renovate/stylelint-prettier-5.x branch from 2ebb9d7 to e6041bb Compare June 1, 2025 12:36
@renovate renovate bot force-pushed the renovate/stylelint-prettier-5.x branch from e6041bb to 3df13df Compare June 4, 2025 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class: dependencies Pull requests that update a dependency file renovate PRs and Issues created by the RenovateBot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants