瀏覽代碼

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"
     },
     "rules": {
+      "no-throw-literal": [
+        "error"
+      ],
       "quotes": [
         "error",
         "single"