You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(linter): Add configuration option docs for eslint/sort-imports rule. (#15013)
Part of #14743.
Generated docs:
```md
## Configuration
This rule accepts a configuration object with the following properties:
### allowSeparatedGroups
type: `boolean`
default: `false`
When `true`, the rule allows import groups separated by blank lines to be treated independently.
### ignoreCase
type: `boolean`
default: `false`
When `true`, the rule ignores case-sensitivity when sorting import names.
### ignoreDeclarationSort
type: `boolean`
default: `false`
When `true`, the rule ignores the sorting of import declarations (the order of `import` statements).
### ignoreMemberSort
type: `boolean`
default: `false`
When `true`, the rule ignores the sorting of import members within a single import declaration.
### memberSyntaxSortOrder
type: `array`
Specifies the sort order of different import syntaxes.
#### memberSyntaxSortOrder[n]
type: `"none" | "all" | "multiple" | "single"`
```
This is imperfect because of the handling of `memberSyntaxSortOrder[n]`
by the website generation tool, but I think this is probably fine as-is.
0 commit comments