-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 #18
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
base: main
Are you sure you want to change the base?
chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to v4.7.0 #18
Conversation
|
215b92c to
40f3574
Compare
f1904e2 to
8e5082f
Compare
8e5082f to
4f83ca8
Compare
4f83ca8 to
802f567
Compare
f0c9017 to
5add35b
Compare
5add35b to
b603b61
Compare
b603b61 to
bed1e4f
Compare
bed1e4f to
57e0516
Compare
57e0516 to
52d07f4
Compare
52d07f4 to
b804277
Compare
b804277 to
a35f23f
Compare
a35f23f to
875bd73
Compare
875bd73 to
e2dbcd8
Compare
e2dbcd8 to
6aeea90
Compare
6aeea90 to
7c954d9
Compare
7c954d9 to
c798f4b
Compare
c798f4b to
42a524c
Compare
42a524c to
38a62a4
Compare
38a62a4 to
3a34e05
Compare
3a34e05 to
2e5e6ca
Compare
9da128c to
ab6d24c
Compare
ab6d24c to
4364b54
Compare
4364b54 to
b1b49fa
Compare
b1b49fa to
13d6e40
Compare
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.