Skip to content

Commit

Permalink
eslint-plugin-simple-import-sort v8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Sep 3, 2022
1 parent 0e3719e commit 24befb6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
### Version 8.0.0 (2022-09-03)

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.)

Before:

```js
import fs from "fs";
import _ from "lodash-es";
import { rmSync } from "node:fs";
```

After:

```js
import { rmSync } from "node:fs";

import fs from "fs";
import _ from "lodash-es";
```

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.

### Version 7.0.0 (2020-12-08)

You can now customize where type imports (`import type { X } from "x"`) go, via the `groups` option. Type imports have `\u0000` at the end.
Expand Down
2 changes: 1 addition & 1 deletion package-real.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-simple-import-sort",
"version": "7.0.0",
"version": "8.0.0",
"license": "MIT",
"author": "Simon Lydell",
"repository": "lydell/eslint-plugin-simple-import-sort",
Expand Down

0 comments on commit 24befb6

Please sign in to comment.