Skip to content

Commit d3542f2

Browse files
Publish release (#24)
1 parent f3e79a7 commit d3542f2

6 files changed

+19
-27
lines changed

.changeset/quick-kangaroos-stare.md

-6
This file was deleted.

.changeset/slimy-dancers-own.md

-8
This file was deleted.

.changeset/tame-actors-move.md

-6
This file was deleted.

.changeset/tough-geckos-doubt.md

-6
This file was deleted.

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# eslint-plugin-import-sorting
22

3+
## 2.0.0
4+
5+
### Major Changes
6+
7+
- Remove deprecated settings ([#18](https://github.com/stormwarning/eslint-plugin-import-sorting/pull/18))
8+
9+
- `import-sorting/known-framework` should be changed to `import-sorting/framework-patterns`
10+
- `import-sorting/known-first-party` should be changed to `import-sorting/internal-patterns`
11+
12+
### Minor Changes
13+
14+
- Group unassigned imports at the top ([#18](https://github.com/stormwarning/eslint-plugin-import-sorting/pull/18))
15+
Unassigned imports are grouped together, but not sorted in case of potential side-effects.
16+
- Include Bun runtime modules in `builtin` group ([#18](https://github.com/stormwarning/eslint-plugin-import-sorting/pull/18))
17+
Since some builtin modules require a `bun:` or `node:` protocol prefix while others do not, sorting ignores the protocol prefix. (Including it consistently is recommended)
18+
- Include additional extensions in `style` group ([#18](https://github.com/stormwarning/eslint-plugin-import-sorting/pull/18))
19+
The `style` group now matches imports of Less, Sass, Stylus, and more.
20+
321
## 1.2.2
422

523
### Patch Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-import-sorting",
3-
"version": "1.2.2",
3+
"version": "2.0.0",
44
"description": "ESLint plugin to group and sort imports by module, à la Python isort",
55
"keywords": [
66
"eslint",

0 commit comments

Comments
 (0)