Skip to content

Commit d75a773

Browse files
committed
docs
1 parent cd777a9 commit d75a773

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/rules/order.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,12 @@ import index from './';
267267
import sibling from './foo';
268268
```
269269

270-
### `alphabetize: {order: asc|desc|ignore, caseInsensitive: true|false}`:
270+
### `alphabetize: {order: asc|desc|ignore, orderImportKind: asc|desc|ignore, caseInsensitive: true|false}`:
271271

272272
Sort the order within each group in alphabetical manner based on **import path**:
273273

274274
- `order`: use `asc` to sort in ascending order, and `desc` to sort in descending order (default: `ignore`).
275+
- `orderImportKind`: use `asc` to sort in ascending order various import kinds, e.g. imports prefixed with `type` or `typeof`, with same import path. Use `desc` to sort in descending order (default: `ignore`).
275276
- `caseInsensitive`: use `true` to ignore case, and `false` to consider case (default: `false`).
276277

277278
Example setting:

0 commit comments

Comments
 (0)