-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 #11
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
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/ianvs-prettier-plugin-sort-imports-4.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5ede39b to
e8080bd
Compare
e8080bd to
bda5527
Compare
bda5527 to
ee47655
Compare
ee47655 to
adbbee0
Compare
adbbee0 to
eebb26b
Compare
eebb26b to
9dc3d44
Compare
9dc3d44 to
0174d93
Compare
0174d93 to
39ff5ee
Compare
39ff5ee to
f2c5c58
Compare
f2c5c58 to
ea7ac42
Compare
ea7ac42 to
0522dfb
Compare
0522dfb to
9525afa
Compare
9525afa to
b35730d
Compare
b35730d to
aef504e
Compare
aef504e to
01a81d3
Compare
01a81d3 to
9d0490f
Compare
9d0490f to
d884423
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.1.1→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
v4.6.2Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.1...4.6.2
v4.6.1Compare Source
What's Changed
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.6.0...v4.6.1
v4.6.0Compare Source
What's Changed
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.1...v4.6.0
v4.5.1Compare Source
What's Changed
Fixes
Internal
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.5.0...v4.5.1
v4.5.0Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.2...v4.5.0
v4.4.2Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.1...v4.4.2
v4.4.1Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.4.0...v4.4.1
v4.4.0Compare Source
What's Changed
Enhancements
importOrderCaseSensitiveoption for case-sensitive sorting by @acnebs in IanVS#184Maintenance
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.3.1...v4.4.0
v4.3.1Compare Source
What's Changed
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.3.0...v4.3.1
v4.3.0Compare Source
What's Changed
Features
This release adds support for experimental import attributes / assertions. There have been a number of styles proposed by TC-39 over the years, but the latest is to use
import x from 'x' with { type: 'json' };, which is called an "import attribute". There is also an older "import assertion" form, which usesassertinstead ofwith.Note: You may need to add
"importAttributes"to your"importOrderParserPlugins"option in order to support this. And if you are using the older assertion style, you'll need to add it as'[\"importAttributes\", {\"deprecatedAssertSyntax\": true}]'.This plugin will also convert the older assertion style to import attributes.
Bugfixes
TypeScript
Optionstypes with internalPluginConfigby @jeremy-code in IanVS#172You can now type your prettier config as simply
/** @​type {import("prettier").Config} */, and you'll also get the types for the options this plugin adds, automatically.Docs
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0
v4.2.1Compare Source
What's Changed
Bugfixes
[]should disable plugin by @IanVS in IanVS#161Full Changelog: IanVS/prettier-plugin-sort-imports@v4.2.0...v4.2.1
v4.2.0Compare Source
What's Changed
Features
Bug fixes
node:testnot grouped with<BUILTIN_MODULES>by @IsaiahByDayah in IanVS#143Dependencies
Docs
New Contributors
Full Changelog: IanVS/prettier-plugin-sort-imports@v4.1.1...v4.2.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.