Ver Fonte

add useAwait rule

Yuki Takei há 4 meses atrás
pai
commit
dc03a7fff1
1 ficheiros alterados com 2 adições e 1 exclusões
  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"