Pārlūkot izejas kodu

add useAwait rule

Yuki Takei 4 mēneši atpakaļ
vecāks
revīzija
dc03a7fff1
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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"