Browse Source

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

gero3 3 years ago
parent
commit
647a7b4302
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package.json

+ 3 - 0
package.json

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