소스 검색

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"