diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/eslint.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -274,7 +274,7 @@ - [ ] "unicode-bom" - [ ] "use-isnan" - [X] "valid-jsdoc" -- [ ] "valid-typeof" +- [X] "valid-typeof" - [ ] "vars-on-top" - [ ] "wrap-iife" - [ ] "wrap-regex" diff --git a/src/rules/eslint.json b/src/rules/eslint.json index 0770287..4ae19b3 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -192,5 +192,11 @@ ], "valid-jsdoc": [ "off" + ], + "valid-typeof": [ + "error", + { + "requireStringLiterals": true + } ] } |