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 Oct 25, 2021
1 parent 46c4709 commit 743bd5b
Showing 1 changed file with 1 addition and 1 deletion.
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 743bd5b

Please sign in to comment.