소스 검색

set the no-throw-literal eslint rule (#23149)

gero3 3 년 전
부모
커밋
647a7b4302
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      package.json

+ 3 - 0
package.json

@@ -55,6 +55,9 @@
       "GPUTextureUsage": "readonly"
       "GPUTextureUsage": "readonly"
     },
     },
     "rules": {
     "rules": {
+      "no-throw-literal": [
+        "error"
+      ],
       "quotes": [
       "quotes": [
         "error",
         "error",
         "single"
         "single"