Bläddra i källkod

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

gero3 3 år sedan
förälder
incheckning
647a7b4302
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      package.json

+ 3 - 0
package.json

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