Skip to content

Commit

Permalink
[readme]: beautify json for setting groups
Browse files Browse the repository at this point in the history
  • Loading branch information
bertyhell authored Oct 13, 2022
1 parent 753505d commit 3ca7e95
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/rules/order.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,21 @@ The default value is `["builtin", "external", "parent", "sibling", "index"]`.
You can set the options like this:

```ts
"import/order": ["error", {"groups": ["index", "sibling", "parent", "internal", "external", "builtin", "object", "type"]}]
"import/order": [
"error",
{
"groups": [
"index",
"sibling",
"parent",
"internal",
"external",
"builtin",
"object",
"type"
]
}
]
```

### `pathGroups: [array of objects]`:
Expand Down

0 comments on commit 3ca7e95

Please sign in to comment.