aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 15:11:30 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 15:11:30 +0300
commit86f818d0b61805ca042724110317386e8923ef9a (patch)
tree53d8b27dc0e55073880e73879975631c6b550ba6 /src
parent9cd13f4b4187e9f06e2cece6c94e097feae4d61e (diff)
downloadeslint-config-86f818d0b61805ca042724110317386e8923ef9a.tar.xz
eslint-config-86f818d0b61805ca042724110317386e8923ef9a.zip
feat(eslint): Rule "valid-typeof"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/eslint.json6
1 files changed, 6 insertions, 0 deletions
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
+ }
]
}