Skip to content

AI-native design editor. Open-source Figma alternative.

Configure oxfmt import sorting with proper groups

Danila Poyarkov4dc127f2d22e
diff --git a/.oxfmtrc.json b/.oxfmtrc.json
index 9cd4513fe..f74a75d74 100644
--- a/.oxfmtrc.json
+++ b/.oxfmtrc.json
@@ -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"