chore(deps-dev): bump @ianvs/prettier-plugin-sort-imports from 4.5.1 to 4.7.0 in the prettier group
Type: Pull Request
State: Closed
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 4
(5 days ago)
(5 days ago)
(5 days ago)
dependencies javascript
Bumps the prettier group with 1 update: @ianvs/prettier-plugin-sort-imports.
Updates @ianvs/prettier-plugin-sort-imports
from 4.5.1 to 4.7.0
Release notes
Sourced from @ianvs/prettier-plugin-sort-imports
's releases.
v4.7.0
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:
- 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"
.- 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
- Add
importOrderSafeSideEffects
option by@IanVS
in IanVS/prettier-plugin-sort-imports#240Internal
- Clean up options & remove explicit function types by
@IanVS
in IanVS/prettier-plugin-sort-imports#239Full Changelog: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.6.3...v4.7.0
v4.6.3
What's Changed
- Revert "fix: conditionally register ember and oxc parsers when depend… by
@IanVS
in IanVS/prettier-plugin-sort-imports#237Full Changelog: https://github.com/IanVS/prettier-plugin-sort-imports/compare/4.6.2...v4.6.3
4.6.2
What's Changed
- fix: conditionally register ember and oxc parsers when dependencies available by
@jahands
in IanVS/prettier-plugin-sort-imports#234New Contributors
@jahands
made their first contribution in IanVS/prettier-plugin-sort-imports#234Full Changelog: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.6.1...4.6.2
v4.6.1
What's Changed
- Do not warn for markdown code blocks by
@IanVS
in IanVS/prettier-plugin-sort-imports#232Full Changelog: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.6.0...v4.6.1
v4.6.0
What's Changed
- Be more tolerant of babel parse errors by
@IanVS
in IanVS/prettier-plugin-sort-imports#230- Add support for ember template tags by
@IanVS
in IanVS/prettier-plugin-sort-imports#231
... (truncated)
Commits
43c7e29
4.7.01f2670a
AddimportOrderSafeSideEffects
option (#240)18637ed
Clean up options & remove explicit function types (#239)cdb13e5
4.6.32188073
Revert "fix: conditionally register ember and oxc parsers when depend… (#237)af7af0e
4.6.2593fe17
fix: conditionally register ember and oxc parsers when dependencies available...ec4ea16
4.6.1084c496
Do not warn for markdown code blocks (#232)299ae65
4.6.0- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
2
+66
-31
Package Dependencies
@ianvs/prettier-plugin-sort-imports
npm
4.5.1 → 4.7.0
Minor
the prettier group
Technical Details
ID: | 7076238 |
UUID: | 2806049430 |
Node ID: | PR_kwDOJn0nrM6nQOqW |
Host: | GitHub |
Repository: | andykenward/github-actions-cloudflare-pages |
Merge State: | Dirty |