Update checked-in dependencies
This commit is contained in:
parent
a0ab4842b5
commit
068ade0b31
93 changed files with 4472 additions and 4635 deletions
21
node_modules/eslint-plugin-import/docs/rules/order.md
generated
vendored
21
node_modules/eslint-plugin-import/docs/rules/order.md
generated
vendored
|
|
@ -148,6 +148,27 @@ Example:
|
|||
}]
|
||||
}
|
||||
```
|
||||
|
||||
You can also use `patterns`(e.g., `react`, `react-router-dom`, etc).
|
||||
|
||||
Example:
|
||||
```json
|
||||
{
|
||||
"import/order": [
|
||||
"error",
|
||||
{
|
||||
"pathGroups": [
|
||||
{
|
||||
"pattern": "react",
|
||||
"group": "builtin",
|
||||
"position": "before"
|
||||
}
|
||||
],
|
||||
"pathGroupsExcludedImportTypes": ["react"]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
The default value is `["builtin", "external"]`.
|
||||
|
||||
### `newlines-between: [ignore|always|always-and-inside-groups|never]`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue