Преглед изворни кода

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"