Skip to content

Commit ccb69d9

Browse files
charpeniljharb
authored andcommittedOct 25, 2021
[Docs] order: add type to the default groups
1 parent 0481dcf commit ccb69d9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
99
### Fixed
1010
- [`extensions`]: ignore unresolveable type-only imports ([#2270], [#2271], [@jablko])
1111

12+
### Changed
13+
- [Docs] order: add type to the default groups ([#2272], [@charpeni])
14+
1215
## [2.25.2] - 2021-10-12
1316

1417
### Fixed
@@ -932,6 +935,7 @@ for info on changes for earlier releases.
932935

933936
[`memo-parser`]: ./memo-parser/README.md
934937

938+
[#2272]: https://github.com/import-js/eslint-plugin-import/pull/2272
935939
[#2271]: https://github.com/import-js/eslint-plugin-import/pull/2271
936940
[#2270]: https://github.com/import-js/eslint-plugin-import/pull/2270
937941
[#2240]: https://github.com/import-js/eslint-plugin-import/pull/2240
@@ -1430,6 +1434,7 @@ for info on changes for earlier releases.
14301434
[@brendo]: https://github.com/brendo
14311435
[@brettz9]: https://github.com/brettz9
14321436
[@charlessuh]: https://github.com/charlessuh
1437+
[@charpeni]: https://github.com/charpeni
14331438
[@cherryblossom000]: https://github.com/cherryblossom000
14341439
[@chrislloyd]: https://github.com/chrislloyd
14351440
[@christianvuerings]: https://github.com/christianvuerings

‎docs/rules/order.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Enforce a convention in the order of `require()` / `import` statements.
44
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.
55

6-
With the [`groups`](#groups-array) option set to `["builtin", "external", "internal", "parent", "sibling", "index", "object"]` the order is as shown in the following example:
6+
With the [`groups`](#groups-array) option set to `["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"]` the order is as shown in the following example:
77

88
```js
99
// 1. node "builtin" modules

0 commit comments

Comments
 (0)
Please sign in to comment.