Procházet zdrojové kódy

update biome organizeImports settings

Yuki Takei před 6 měsíci
rodič
revize
1de25d25ea
1 změnil soubory, kde provedl 38 přidání a 2 odebrání
  1. 38 2
      biome.json

+ 38 - 2
biome.json

@@ -49,7 +49,43 @@
   "assist": {
     "actions": {
       "source": {
-        "organizeImports": "on"
+        "organizeImports": {
+          "level": "on",
+          "options": {
+            "groups": [
+              [
+                "react",
+                "react/**"
+              ],
+              [
+                "next",
+                "next/**"
+              ],
+              [
+                ":NODE:",
+                ":PACKAGE:"
+              ],
+              ":BLANK_LINE:",
+              [
+                "@/**",
+                "^/**"
+              ],
+              ":BLANK_LINE:",
+              "~/**",
+              ":BLANK_LINE:",
+              [
+                ":PATH:",
+                "!**/*.css",
+                "!**/*.scss"
+              ],
+              ":BLANK_LINE:",
+              [
+                "**/*.css",
+                "**/*.scss"
+              ]
+            ]
+          }
+        }
       }
     }
   },
@@ -82,4 +118,4 @@
       }
     }
   ]
-}
+}