Browse Source

allow default export in vite configuration files

Yuki Takei 2 months ago
parent
commit
f71a9c1798
1 changed files with 10 additions and 0 deletions
  1. 10 0
      biome.json

+ 10 - 0
biome.json

@@ -90,6 +90,16 @@
     }
     }
   },
   },
   "overrides": [
   "overrides": [
+    {
+      "includes": ["**/vite*.config.ts", "vitest*.config.ts"],
+      "linter": {
+        "rules": {
+          "style": {
+            "noDefaultExport": "off"
+          }
+        }
+      }
+    },
     {
     {
       "includes": ["bin/**"],
       "includes": ["bin/**"],
       "linter": {
       "linter": {