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:
Danila Poyarkov 2026-03-06 21:43:23 +03:00
parent c33e4152df
commit 4dc127f2d2

View file

@ -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"