From ad4205073c7e74bb44fb7f1405f5861860f20d78 Mon Sep 17 00:00:00 2001 From: Yury Bondarenko Date: Mon, 8 May 2023 17:04:05 +0200 Subject: [PATCH] ESLint: enforce no-extra-boolean-cast https://eslint.org/docs/latest/rules/no-extra-boolean-cast --- .eslintrc.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 61c0582752..9279c61b90 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -106,13 +106,11 @@ ], "prefer-const": "error", "no-case-declarations": "error", + "no-extra-boolean-cast": "error", "prefer-spread": "off", "no-underscore-dangle": "off", - - // todo: disabled rules from eslint:recommended, consider re-enabling & fixing "no-prototype-builtins": "off", "no-useless-escape": "off", - "no-extra-boolean-cast": "off", "@angular-eslint/directive-selector": [ "error",