Skip to content

Commit 990aa73

Browse files
committed
docs: update README.md
1 parent 6cc4ec1 commit 990aa73

File tree

1 file changed

+19
-0
lines changed
  • packages/eslint-plugin-import-newlines

1 file changed

+19
-0
lines changed

packages/eslint-plugin-import-newlines/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@
77
88
Parts of the code are taken from [SeinopSys/eslint-plugin-import-newlines](https://github.com/SeinopSys/eslint-plugin-import-newlines), which is also [MIT licensed](https://github.com/SeinopSys/eslint-plugin-import-newlines/blob/main/LICENSE.md).
99

10+
Turns this:
11+
12+
```js
13+
import { AlertDialog, AlertDialogCancel, AlertDialogContent, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle } from './ui/alert-dialog'
14+
```
15+
16+
into this:
17+
18+
```js
19+
import {
20+
AlertDialog,
21+
AlertDialogCancel,
22+
AlertDialogContent,
23+
AlertDialogFooter,
24+
AlertDialogHeader,
25+
AlertDialogTitle
26+
} from './ui/alert-dialog'
27+
```
28+
1029
## Install
1130

1231
```shell

0 commit comments

Comments
 (0)