Closed VKobeliatsky closed 1 year ago
I suggest the next configuration for ordered-imports rule:
ordered-imports
"ordered-imports": [ true, { "grouped-imports": true, "import-sources-order": "any", "named-imports-order": "any" } ]
this forces the developer to group imports by source path:
Possible values for "grouped-imports" are: true: Group source imports by "bar", "../baz", "./foo".
Possible values for "grouped-imports" are:
true
and have any order in the groups and import names
Possible values for "import-sources-order" are: "any": Allow any order. Possible values for "named-imports-order" are: "any": Allow any order.
Possible values for "import-sources-order" are:
"import-sources-order"
"any"
Possible values for "named-imports-order" are:
"named-imports-order"
let's publish it @VKobeliatsky
I suggest the next configuration for
ordered-imports
rule:this forces the developer to group imports by source path:
and have any order in the groups and import names
ordered-imports