From d7fea402cf940e27be3f01ceeef1c8135ac43fb7 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 13 Feb 2020 22:56:47 +0400 Subject: feat(typescript): Rule "strict-boolean-expressions" Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/rules') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index d8596f5..40f5473 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -61,6 +61,14 @@ "omitLastInOneLineBlock": false } ], + "@typescript-eslint/strict-boolean-expressions": [ + "error", + { + "allowNullable": false, + "allowSafe": false, + "ignoreRhs": false + } + ], "indent": [ "off" ], -- cgit v1.2.3