aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json6
2 files changed, 7 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 3efef27..10dea49 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -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
+ }
]
}