Skip to content

Commit

Permalink
Remove duplicate mention of default
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen committed Oct 29, 2021
1 parent ee48eee commit 34e9023
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions docs/rules/order.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,25 +175,13 @@ The default value is `["builtin", "external"]`.

Enforces or forbids new lines between import groups:

- If set to `ignore`, no errors related to new lines between import groups will be reported (default).
- If set to `ignore`, no errors related to new lines between import groups will be reported.
- If set to `always`, at least one new line between each group will be enforced, and new lines inside a group will be forbidden. To prevent multiple lines between imports, core `no-multiple-empty-lines` rule can be used.
- If set to `always-and-inside-groups`, it will act like `always` except newlines are allowed inside import groups.
- If set to `never`, no new lines are allowed in the entire import section.

The default value is `"ignore"`.

Example:
```json
{
"import/order": [
"error",
{
"newlines-between": "always"
}
]
}
```

With the default group setting, the following will be invalid:

```js
Expand Down

0 comments on commit 34e9023

Please sign in to comment.