瀏覽代碼

add useAwait rule

Yuki Takei 4 月之前
父節點
當前提交
dc03a7fff1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      biome.json

+ 2 - 1
biome.json

@@ -65,7 +65,8 @@
       },
       "suspicious": {
         "noConsole": "error",
-        "noAlert": "error"
+        "noAlert": "error",
+        "useAwait": "warn"
       },
       "performance": {
         "noAwaitInLoops": "warn"