From 86f818d0b61805ca042724110317386e8923ef9a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 16:11:30 +0400 Subject: feat(eslint): Rule "valid-typeof" Signed-off-by: Valentin Popov --- src/rules/eslint.json | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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 + } ] } -- cgit v1.2.3