Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 30, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
@ianvs/prettier-plugin-sort-imports devDependencies minor 4.5.1 -> 4.7.0 OpenSSF Scorecard

Release Notes

ianvs/prettier-plugin-sort-imports (@​ianvs/prettier-plugin-sort-imports)

v4.7.0

Compare Source

What's Changed

This project began as a fork because I wanted a plugin that would not move side-effect imports around and mess with my CSS cascade. So its first and most distinguishing feature is that side-effect imports do not move, and other imports are not sorted across them.

This works fine in most cases, but some people have side-effect imports that they know can be sorted safely. For those, there is now an "escape hatch" option named importOrderSafeSideEffects. It is an array of glob pattern strings (similar to importOrder) which, when they match against a side-effect import, allow that import to be sorted as if it were a standard import.

Suggestions for safe use:

  • Use ^ at the start of your pattern and $ at the end, to avoid accidentally matching part of an import name. For example, "^server-only$", to avoid matching against import "not-server-only".
  • Use extreme caution if matching against relative files or CSS files. If you decide to sort CSS imports and a file ever imports more than one CSS file, your cascade may change.
  • You can still use // prettier-ignore to stop sorting a particular import that would otherwise be sorted.

Feedback on this feature is welcome.

Features
Internal

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.3...v4.7.0

v4.6.3

Compare Source

What's Changed

  • Revert "fix: conditionally register ember and oxc parsers when depend… by @​IanVS in IanVS#237

Full Changelog: IanVS/prettier-plugin-sort-imports@4.6.2...v4.6.3

v4.6.2

Compare Source

What's Changed

  • fix: conditionally register ember and oxc parsers when dependencies available by @​jahands in IanVS#234

New Contributors

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.1...4.6.2

v4.6.1

Compare Source

What's Changed

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.0...v4.6.1

v4.6.0

Compare Source

What's Changed

Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.1...v4.6.0


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 the dependency label Sep 30, 2025
@renovate renovate bot requested a review from devtobi September 30, 2025 23:27
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch 9 times, most recently from 60888fd to fde28d7 Compare October 3, 2025 01:51
@renovate renovate bot force-pushed the renovate/ianvs-prettier-plugin-sort-imports-4.x branch from fde28d7 to 989994f Compare October 21, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant