diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 15:11:30 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 15:11:30 +0300 |
commit | 86f818d0b61805ca042724110317386e8923ef9a (patch) | |
tree | 53d8b27dc0e55073880e73879975631c6b550ba6 /src/rules | |
parent | 9cd13f4b4187e9f06e2cece6c94e097feae4d61e (diff) | |
download | eslint-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/rules')
-rw-r--r-- | src/rules/eslint.json | 6 |
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 + } ] } |