Skip to content

Commit

Permalink
[Docs] order: add type to the default groups
Browse files Browse the repository at this point in the history
  • Loading branch information
charpeni authored and ljharb committed Oct 25, 2021
1 parent 0481dcf commit ccb69d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
### Fixed
- [`extensions`]: ignore unresolveable type-only imports ([#2270], [#2271], [@jablko])

### Changed
- [Docs] order: add type to the default groups ([#2272], [@charpeni])

## [2.25.2] - 2021-10-12

### Fixed
Expand Down Expand Up @@ -932,6 +935,7 @@ for info on changes for earlier releases.

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

[#2272]: https://github.com/import-js/eslint-plugin-import/pull/2272
[#2271]: https://github.com/import-js/eslint-plugin-import/pull/2271
[#2270]: https://github.com/import-js/eslint-plugin-import/pull/2270
[#2240]: https://github.com/import-js/eslint-plugin-import/pull/2240
Expand Down Expand Up @@ -1430,6 +1434,7 @@ for info on changes for earlier releases.
[@brendo]: https://github.com/brendo
[@brettz9]: https://github.com/brettz9
[@charlessuh]: https://github.com/charlessuh
[@charpeni]: https://github.com/charpeni
[@cherryblossom000]: https://github.com/cherryblossom000
[@chrislloyd]: https://github.com/chrislloyd
[@christianvuerings]: https://github.com/christianvuerings
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/order.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Enforce a convention in the order of `require()` / `import` statements.
+(fixable) The `--fix` option on the [command line] automatically fixes problems reported by this rule.

With the [`groups`](#groups-array) option set to `["builtin", "external", "internal", "parent", "sibling", "index", "object"]` the order is as shown in the following example:
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:

```js
// 1. node "builtin" modules
Expand Down

0 comments on commit ccb69d9

Please sign in to comment.