Configure oxfmt import sorting with proper groups
Replace experimentalSortImports with sortImports. Groups: builtin → external → internal (@open-pencil/, @/). Newlines between groups, alphabetical within.
This commit is contained in:
parent
c33e4152df
commit
4dc127f2d2
|
|
@ -6,12 +6,14 @@
|
|||
"singleQuote": true,
|
||||
"printWidth": 100,
|
||||
"arrowParens": "always",
|
||||
"experimentalSortImports": {
|
||||
"sortImports": {
|
||||
"order": "asc",
|
||||
"ignoreCase": true,
|
||||
"newlinesBetween": true,
|
||||
"internalPattern": ["@open-pencil/", "@/"],
|
||||
"groups": [
|
||||
["builtin", "external"],
|
||||
"builtin",
|
||||
"external",
|
||||
"internal",
|
||||
["parent", "sibling", "index"],
|
||||
"type"
|
||||
|
|
|
|||
Loading…
Reference in a new issue