fix(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 #205
+14
−9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.6.2->4.7.0Release Notes
ianvs/prettier-plugin-sort-imports (@ianvs/prettier-plugin-sort-imports)
v4.7.0Compare 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 toimportOrder) 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:
^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 againstimport "not-server-only".// prettier-ignoreto stop sorting a particular import that would otherwise be sorted.Feedback on this feature is welcome.
Features
importOrderSafeSideEffectsoption by @IanVS in IanVS#240Internal
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.3...v4.7.0
v4.6.3Compare Source
What's Changed
Full Changelog: IanVS/prettier-plugin-sort-imports@4.6.2...v4.6.3
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.