Update dependency eslint-plugin-simple-import-sort to v8 - autoclosed #15
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:
^5.0.3
->^8.0.0
Release Notes
lydell/eslint-plugin-simple-import-sort
v8.0.0
Compare Source
Node.js builtin modules prefixed with
node:
are now in a separate group by default (regex:^node:
), above the packages group. (Node.js builtins withoutnode:
are still sorted together with npm packages like before.)Before:
After:
This is only a breaking change if you use the
node:
prefix in imports, and only in the form of that you need to autofix your files.v7.0.0
Compare Source
You can now customize where type imports (
import type { X } from "x"
) go, via thegroups
option. Type imports have\u0000
at the end.This is only a breaking change if you use the
groups
option and your regexes care about what the last character is. If so, you now need to account for the fact that the last character of type imports is\u0000
.v6.0.1
Compare Source
as default
in exports no longer results in invalid code.v6.0.0
Compare Source
simple-import-sort/sort
is now calledsimple-import-sort/imports
.simple-import-sort/exports
for sorting (some) exports. Big thanks to Remco Haszing (@remcohaszing) for the suggestion and great feedback, and to @JCrepin for the initial implementation!../..
imports are now sorted properly based on directory hierarchy.groups
option can now be reordered freely without causing imports to unexpectedly end up in other groups than before.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 has been generated by Mend Renovate. View repository job log here.