Skip to content

Commit 24befb6

Browse files
committed
eslint-plugin-simple-import-sort v8.0.0
1 parent 0e3719e commit 24befb6

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
### Version 8.0.0 (2022-09-03)
2+
3+
Node.js builtin modules prefixed with `node:` are now in a separate group by default (regex: `^node:`), above the packages group. (Node.js builtins _without_ `node:` are still sorted together with npm packages like before.)
4+
5+
Before:
6+
7+
```js
8+
import fs from "fs";
9+
import _ from "lodash-es";
10+
import { rmSync } from "node:fs";
11+
```
12+
13+
After:
14+
15+
```js
16+
import { rmSync } from "node:fs";
17+
18+
import fs from "fs";
19+
import _ from "lodash-es";
20+
```
21+
22+
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.
23+
124
### Version 7.0.0 (2020-12-08)
225

326
You can now customize where type imports (`import type { X } from "x"`) go, via the `groups` option. Type imports have `\u0000` at the end.

package-real.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-simple-import-sort",
3-
"version": "7.0.0",
3+
"version": "8.0.0",
44
"license": "MIT",
55
"author": "Simon Lydell",
66
"repository": "lydell/eslint-plugin-simple-import-sort",

0 commit comments

Comments
 (0)