diff --git a/eslintrc.json b/eslintrc.json index 9021bfba..6b35228f 100644 --- a/eslintrc.json +++ b/eslintrc.json @@ -156,7 +156,7 @@ "template-tag-spacing": ["error", "never"], "unicode-bom": ["error", "never"], "use-isnan": "error", - "valid-typeof": "error", + "valid-typeof": ["error", { "requireStringLiterals": true }], "wrap-iife": ["error", "any", { "functionPrototypeMethods": true }], "yield-star-spacing": ["error", "both"], "yoda": ["error", "never"],